ableton.v3.control_surface.components.sliced_simpler (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Module constants¶
BASE_SLICING_NOTE = 36DEFAULT_SIMPLER_TRANSLATION_CHANNEL = 14
Functions¶
depends(**dependencies)¶
listens(event_path, *a, **k)¶
liveobj_changed(obj, other)¶
liveobj_valid(obj)¶
Classes¶
class LiveObjSkinEntry(tuple)¶
LiveObjSkinEntry(name, liveobj)
Properties¶
liveobj- Alias for field number 1name- Alias for field number 0
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
_asdict(self)¶
_make(iterable)¶
Make a new LiveObjSkinEntry object from a sequence or iterable
_replace(_self, **kwds)¶
Return a new LiveObjSkinEntry object replacing specified fields with new values
count(self, value, /)¶
Return number of occurrences of value.
index(self, value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
Attributes¶
_field_defaults={}- dict() -> new empty dictionary_field_types=OrderedDict([('name', <class 'str'>), ('liveobj', typing.Any)])- Dictionary that remembers insertion order_fields=('name', 'liveobj')- Built-in immutable sequence._fields_defaults={}- dict() -> new empty dictionary
class PageComponent(Component, Scrollable)¶
Properties¶
applicationis_rootlayerparentsong
Methods¶
__init__(self, pageable=None, scroll_skin_name=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_get_layer_iterable(self)¶
_grab_all_layers(self)¶
_internal_on_enabled_changed(self)¶
_release_all_layers(self)¶
_scroll_page(self, sign)¶
_scroll_position(self, delta)¶
_set_enabled_recursive(self, enable)¶
_update_is_enabled(self)¶
add_any_clipboard_has_content_listener(self, slot, identify_sender=False, *a, **k)¶
add_children(self, *children)¶
add_control(self, name, control)¶
add_enabled_listener(self, slot, identify_sender=False, *a, **k)¶
any_clipboard_has_content_has_listener(self, slot)¶
any_clipboard_has_content_listener_count(self)¶
can_scroll_down(self)¶
can_scroll_page_down(self)¶
can_scroll_page_up(self)¶
can_scroll_up(self)¶
control_notifications_enabled(self)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
enabled_has_listener(self, slot)¶
enabled_listener_count(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_enabled(self, explicit=False)¶
notify_any_clipboard_has_content(self, *a, **k)¶
notify_enabled(self, *a, **k)¶
on_enabled_changed(self)¶
register_clipboard(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_any_clipboard_has_content_listener(self, slot)¶
remove_enabled_listener(self, slot)¶
scroll_down(self)¶
scroll_page_down(self)¶
scroll_page_up(self)¶
scroll_up(self)¶
set_enabled(self, enable)¶
set_scroll_down_button(self, button)¶
set_scroll_encoder(self, encoder)¶
set_scroll_page_down_button(self, button)¶
set_scroll_page_encoder(self, encoder)¶
set_scroll_page_up_button(self, button)¶
set_scroll_up_button(self, button)¶
unregister_disconnectable(self, slot)¶
update(self)¶
Attributes¶
_clipboard_component_instances=[]- Built-in mutable sequence._tasks=<ableton.v2.base.util.lazy_attribute object at 0x163a2a898>any_clipboard_has_content=False- bool(x) -> boolcanonical_parent=Nonenum_layers=0- int([x]) -> integer
class Pageable(EventObject)¶
Methods¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
add_position_listener(self, slot, identify_sender=False, *a, **k)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
notify_position(self, *a, **k)¶
position_has_listener(self, slot)¶
position_listener_count(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_position_listener(self, slot)¶
unregister_disconnectable(self, slot)¶
Attributes¶
page_length=NotImplementedpage_offset=NotImplementedposition=NotImplementedposition_count=NotImplemented
class PitchProvider(EventObject)¶
Methods¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
add_is_polyphonic_listener(self, slot, identify_sender=False, *a, **k)¶
add_pitches_listener(self, slot, identify_sender=False, *a, **k)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_polyphonic_has_listener(self, slot)¶
is_polyphonic_listener_count(self)¶
notify_is_polyphonic(self, *a, **k)¶
notify_pitches(self, *a, **k)¶
pitches_has_listener(self, slot)¶
pitches_listener_count(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_is_polyphonic_listener(self, slot)¶
remove_pitches_listener(self, slot)¶
unregister_disconnectable(self, slot)¶
Attributes¶
is_polyphonic=False- bool(x) -> boolpitches=[36]- Built-in mutable sequence.
class PlayableComponent(Component)¶
Properties¶
applicationheightis_rootlayerparentsongwidth
Methods¶
__init__(self, name='Playable', matrix_always_listenable=False, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_any_modifier_pressed(self)¶
_button_should_be_enabled(self, button)¶
_get_layer_iterable(self)¶
_grab_all_layers(self)¶
_internal_on_enabled_changed(self)¶
_note_translation_for_button(self, button)¶
_on_matrix_pressed(self, button)¶
_on_matrix_released(self, button)¶
_release_all_layers(self)¶
_reset_selected_pads(self)¶
_set_button_control_properties(self, button)¶
_set_control_pads_from_script(self, takeover_pads)¶
_set_enabled_recursive(self, enable)¶
_update_button_color(self, button)¶
_update_control_from_script(self)¶
_update_is_enabled(self)¶
_update_led_feedback(self)¶
_update_note_translations(self)¶
add_any_clipboard_has_content_listener(self, slot, identify_sender=False, *a, **k)¶
add_children(self, *children)¶
add_control(self, name, control)¶
add_enabled_listener(self, slot, identify_sender=False, *a, **k)¶
add_pressed_pads_listener(self, slot, identify_sender=False, *a, **k)¶
any_clipboard_has_content_has_listener(self, slot)¶
any_clipboard_has_content_listener_count(self)¶
control_notifications_enabled(self)¶
create_modifier_buttons(self, *button_names)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
enabled_has_listener(self, slot)¶
enabled_listener_count(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_enabled(self, explicit=False)¶
notify_any_clipboard_has_content(self, *a, **k)¶
notify_enabled(self, *a, **k)¶
notify_pressed_pads(self, *a, **k)¶
on_enabled_changed(self)¶
pressed_pads_has_listener(self, slot)¶
pressed_pads_listener_count(self)¶
register_clipboard(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_any_clipboard_has_content_listener(self, slot)¶
remove_enabled_listener(self, slot)¶
remove_pressed_pads_listener(self, slot)¶
set_enabled(self, enable)¶
set_matrix(self, matrix)¶
unregister_disconnectable(self, slot)¶
update(self)¶
Attributes¶
_clipboard_component_instances=[]- Built-in mutable sequence._tasks=<ableton.v2.base.util.lazy_attribute object at 0x163a2a898>any_clipboard_has_content=False- bool(x) -> boolcanonical_parent=Nonematrix=<ableton.v2.base.util.Mixin_MatrixControl_PlayableControl object at 0x163b3ea20>num_layers=0- int([x]) -> integerpressed_pads=[]- Built-in mutable sequence.
class Renderable(CompoundDisconnectable)¶
Methods¶
__init__(self, react=None, notifications: 'Optional[Type[Notifications]]' = None, suppress_notifications: 'Optional[Callable]' = None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_create_event_handler(self, property_name)¶
_init_state_from_controls(self, renderable_state)¶
_init_state_from_listenable_properties(self, renderable_state)¶
control_base_type(extra_args=None, extra_kws=None, *a, **k)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
dispatch_event(self, name: 'str', value)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
notify(self, notification: 'Notification[Callable[[Unpack[NotificationParams]], Optional[str]]]', *a: 'Unpack[NotificationParams]')¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
suppress_notifications(self)¶
unregister_disconnectable(self, slot)¶
Attributes¶
include_in_top_level_state=True- bool(x) -> boolrenderable_state=<ableton.v2.base.util.lazy_attribute object at 0x1639d72e8>
class SlicedSimplerComponent(PlayableComponent, PageComponent, Pageable, PitchProvider, Renderable)¶
Properties¶
applicationheightis_rootlayerparentpositionsongwidth
Methods¶
__init__(self, name='Sliced_Simpler', translation_channel=14, target_track=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_any_modifier_pressed(self)¶
_button_should_be_enabled(self, button)¶
_coordinate_to_slice_index(self, coordinate)¶
_create_event_handler(self, property_name)¶
_delete_slice_at_index(self, index)¶
_get_layer_iterable(self)¶
_grab_all_layers(self)¶
_init_state_from_controls(self, renderable_state)¶
_init_state_from_listenable_properties(self, renderable_state)¶
_internal_on_enabled_changed(self)¶
_note_translation_for_button(self, button)¶
_on_matrix_pressed(self, button)¶
_on_matrix_released(self, button)¶
_release_all_layers(self)¶
_reset_selected_pads(self)¶
_scroll_page(self, sign)¶
_scroll_position(self, delta)¶
_select_slice_at_index(self, index)¶
_selected_slice(self)¶
_set_button_control_properties(self, button)¶
_set_control_pads_from_script(self, takeover_pads)¶
_set_enabled_recursive(self, enable)¶
_should_show_next_slice(self, index, length_of_slices)¶
_simpler_setup_is_valid(self)¶
_slices(self)¶
_update_button_color(self, button)¶
_update_control_from_script(self)¶
_update_is_enabled(self)¶
_update_led_feedback(self)¶
_update_note_translations(self)¶
_update_provided_pitches(self)¶
add_any_clipboard_has_content_listener(self, slot, identify_sender=False, *a, **k)¶
add_children(self, *children)¶
add_control(self, name, control)¶
add_enabled_listener(self, slot, identify_sender=False, *a, **k)¶
add_is_polyphonic_listener(self, slot, identify_sender=False, *a, **k)¶
add_pitches_listener(self, slot, identify_sender=False, *a, **k)¶
add_position_listener(self, slot, identify_sender=False, *a, **k)¶
add_pressed_pads_listener(self, slot, identify_sender=False, *a, **k)¶
any_clipboard_has_content_has_listener(self, slot)¶
any_clipboard_has_content_listener_count(self)¶
can_scroll_down(self)¶
can_scroll_page_down(self)¶
can_scroll_page_up(self)¶
can_scroll_up(self)¶
control_base_type(extra_args=None, extra_kws=None, *a, **k)¶
control_notifications_enabled(self)¶
create_modifier_buttons(self, *button_names)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
dispatch_event(self, name: 'str', value)¶
enabled_has_listener(self, slot)¶
enabled_listener_count(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
is_enabled(self, explicit=False)¶
is_polyphonic_has_listener(self, slot)¶
is_polyphonic_listener_count(self)¶
notify(self, notification: 'Notification[Callable[[Unpack[NotificationParams]], Optional[str]]]', *a: 'Unpack[NotificationParams]')¶
notify_any_clipboard_has_content(self, *a, **k)¶
notify_enabled(self, *a, **k)¶
notify_is_polyphonic(self, *a, **k)¶
notify_pitches(self, *a, **k)¶
notify_position(self, *a, **k)¶
notify_pressed_pads(self, *a, **k)¶
on_enabled_changed(self)¶
pitches_has_listener(self, slot)¶
pitches_listener_count(self)¶
position_has_listener(self, slot)¶
position_listener_count(self)¶
pressed_pads_has_listener(self, slot)¶
pressed_pads_listener_count(self)¶
register_clipboard(self)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
remove_any_clipboard_has_content_listener(self, slot)¶
remove_enabled_listener(self, slot)¶
remove_is_polyphonic_listener(self, slot)¶
remove_pitches_listener(self, slot)¶
remove_position_listener(self, slot)¶
remove_pressed_pads_listener(self, slot)¶
scroll_down(self)¶
scroll_page_down(self)¶
scroll_page_up(self)¶
scroll_up(self)¶
set_enabled(self, enable)¶
set_matrix(self, matrix)¶
set_scroll_down_button(self, button)¶
set_scroll_encoder(self, encoder)¶
set_scroll_page_down_button(self, button)¶
set_scroll_page_encoder(self, encoder)¶
set_scroll_page_up_button(self, button)¶
set_scroll_up_button(self, button)¶
set_simpler_device(self, simpler_device)¶
suppress_notifications(self)¶
unregister_disconnectable(self, slot)¶
update(self)¶
Attributes¶
_SlicedSimplerComponent__on_file_changed=None_SlicedSimplerComponent__on_pad_slicing_changed=None_SlicedSimplerComponent__on_selected_slice_changed=None_SlicedSimplerComponent__on_slices_changed=None_SlicedSimplerComponent__on_slicing_style_changed=None_SlicedSimplerComponent__on_track_color_changed=None_clipboard_component_instances=[]- Built-in mutable sequence._tasks=<ableton.v2.base.util.lazy_attribute object at 0x163a2a898>any_clipboard_has_content=False- bool(x) -> boolcanonical_parent=Noneinclude_in_top_level_state=True- bool(x) -> boolis_polyphonic=False- bool(x) -> boolmatrix=<ableton.v2.base.util.Mixin_MatrixControl_PlayableControl object at 0x163b3ea20>num_layers=0- int([x]) -> integerpage_length=4- int([x]) -> integerpage_offset=0- int([x]) -> integerpitches=[36]- Built-in mutable sequence.position_count=16- int([x]) -> integerpressed_pads=[]- Built-in mutable sequence.renderable_state=<ableton.v2.base.util.lazy_attribute object at 0x1639d72e8>
class SlicingStyle(enum)¶
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
bit_length(self, /)¶
Number of bits necessary to represent self in binary.
bin(37) '0b100101' (37).bit_length() 6
conjugate(...)¶
Returns self, the complex conjugate of any int.
from_bytes(bytes, byteorder, *, signed=False)¶
Return the integer represented by the given array of bytes.
bytes Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of built-in objects that support the buffer protocol. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte array. If byteorder is 'little', the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder' as the byte order value. signed Indicates whether two's complement is used to represent the integer.
to_bytes(self, /, length, byteorder, *, signed=False)¶
Return an array of bytes representing an integer.
length Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte array. If byteorder is 'little', the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder' as the byte order value. signed Determines whether two's complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
Attributes¶
beat=Sample.SlicingStyle.beatdenominator=<attribute 'denominator' of 'int' objects>- the denominator of a rational number in lowest termsimag=<attribute 'imag' of 'int' objects>- the imaginary part of a complex numbermanual=Sample.SlicingStyle.manualname=<member 'name' of 'Boost.Python.enum' objects>names={'transient': Sample.SlicingStyle.transient, 'beat': Sample.SlicingStyle.beat, 'region': Sample.SlicingStyle.region, 'manual': Sample.SlicingStyle.manual}- dict() -> new empty dictionarynumerator=<attribute 'numerator' of 'int' objects>- the numerator of a rational number in lowest termsreal=<attribute 'real' of 'int' objects>- the real part of a complex numberregion=Sample.SlicingStyle.regiontransient=Sample.SlicingStyle.transientvalues={0: Sample.SlicingStyle.transient, 1: Sample.SlicingStyle.beat, 2: Sample.SlicingStyle.region, 3: Sample.SlicingStyle.manual}- dict() -> new empty dictionary