Skip to content

ableton.v2.control_surface.percussion_instrument_finder (runtime)

Live 12 — Live Object Model & framework reference (descriptions and signatures).

Functions

find_drum_group_device(track_or_chain)

find_instrument_devices(track_or_chain)

find_instrument_meeting_requirement(requirement, track_or_chain)

find_sliced_simpler(track_or_chain)

listens_group(event_name, *a, **k)

liveobj_changed(obj, other)

old_hasattr(obj, attr)

Classes

class EventObject(CompoundDisconnectable)

Methods

__init__(self, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

disconnect(self)
disconnect_disconnectable(self, slot)
find_disconnectable(self, predicate)
has_disconnectable(self, slot)
register_disconnectable(self, slot)
register_disconnectables(self, disconnectables)
register_slot(self, *a, **k)
unregister_disconnectable(self, slot)

class Mode

Methods

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

enter_mode(self)
leave_mode(self)

class PercussionInstrumentFinder(Mode, EventObject)

Properties

  • device_parent
  • drum_group
  • is_enabled
  • sliced_simpler

Methods

__init__(self, device_parent=None, is_enabled=True, *a, **k)

Initialize self. See help(type(self)) for accurate signature.

_update_instruments(self)
_update_listeners(self)
add_instrument_listener(self, slot, identify_sender=False, *a, **k)
disconnect(self)
disconnect_disconnectable(self, slot)
enter_mode(self)
find_disconnectable(self, predicate)
has_disconnectable(self, slot)
instrument_has_listener(self, slot)
instrument_listener_count(self)
leave_mode(self)
notify_instrument(self, *a, **k)
register_disconnectable(self, slot)
register_disconnectables(self, disconnectables)
register_slot(self, *a, **k)
remove_instrument_listener(self, slot)
unregister_disconnectable(self, slot)
update(self)

Attributes

  • _PercussionInstrumentFinder__on_chains_changed = None
  • _PercussionInstrumentFinder__on_devices_changed = None
  • _PercussionInstrumentFinder__on_slicing_changed = None
  • _drum_group = None
  • _simpler = None

class chain

chain(*iterables) --> chain object

Return a chain object whose .next() method returns elements from the first iterable until it is exhausted, then elements from the next iterable, until all of the iterables are exhausted.

Methods

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

from_iterable(iterable, /)

Alternative chain() constructor taking a single iterable argument that evaluates lazily.