Skip to content

ableton.v2.control_surface.components.session_recording (runtime)

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

Functions

find_if(predicate, seq)

listens(event_path, *a, **k)

liveobj_valid(obj)

track_fired_slot(track)

track_is_recording(track)

track_playing_slot(track)

track_will_record(track)

Classes

class ButtonControl(ButtonControlBase)

Properties

  • double_clicked
  • pressed
  • pressed_delayed
  • released
  • released_delayed
  • released_immediately
  • value

Methods

State(color='DefaultButton.On', *a, **k)
__init__(self, *a, **k)

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

_clear_state(self, manager)
_get_state(self, manager, state_factory=None)
_make_control_state(self, manager)

Attributes

  • DELAY_TIME = 0.3 - Convert a string or number to a floating point number, if possible.
  • DOUBLE_CLICK_TIME = 0.5 - Convert a string or number to a floating point number, if possible.
  • REPEAT_RATE = 0.1 - Convert a string or number to a floating point number, if possible.
  • _extra_args = [] - Built-in mutable sequence.
  • _extra_kws = {} - dict() -> new empty dictionary

class Component(ControlManager)

Properties

  • application
  • is_root
  • layer
  • parent
  • song

Methods

__init__(self, name='', parent=None, register_component=None, song=None, layer=None, is_enabled=True, *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)
_set_enabled_recursive(self, enable)
_update_is_enabled(self)
add_children(self, *a)
add_control(self, name, control)
add_enabled_listener(self, slot, identify_sender=False, *a, **k)
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_enabled(self, *a, **k)
on_enabled_changed(self)
register_disconnectable(self, slot)
register_disconnectables(self, disconnectables)
register_slot(self, *a, **k)
remove_enabled_listener(self, slot)
set_enabled(self, enable)
unregister_disconnectable(self, slot)
update(self)

Attributes

  • _has_task_group = False - bool(x) -> bool
  • _layer = None
  • _tasks = <ableton.v2.base.util.lazy_attribute object at 0x163088ef0>
  • canonical_parent = None
  • is_private = False - bool(x) -> bool
  • name = '' - str(object='') -> str

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 SessionRecordingComponent(Component)

Properties

  • application
  • is_root
  • layer
  • parent
  • scene_list_mode
  • song

Methods

__init__(self, view_controller=None, *a, **k)

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

_add_child(self, component)
_create_silent_scene(self, scene_index)
_delete_automation_value(self)
_get_layer_iterable(self)
_get_playing_clip(self)
_grab_all_layers(self)
_handle_limitation_error_on_scene_creation(self)
_has_clip(self, scene_or_track)
_internal_on_enabled_changed(self)
_jump_to_next_slot(self, track, start_index)
_next_empty_slot(self, track, scene_index)
_on_record_button_pressed(self)
_on_record_button_released(self)
_on_session_automation_record_changed(self)
_prepare_new_action(self)
_reconnect_track_listeners(self)
_release_all_layers(self)
_set_enabled_recursive(self, enable)
_start_recording(self)
_stop_recording(self)
_trigger_recording(self)
_update_delete_automation_button_color(self)
_update_generic_new_button(self, new_button)
_update_is_enabled(self)
_update_new_button(self)
_update_new_scene_button(self)
_update_record_button(self)
_update_scene_list_new_button(self)
_view_selected_clip_detail(self)
add_children(self, *a)
add_control(self, name, control)
add_enabled_listener(self, slot, identify_sender=False, *a, **k)
control_notifications_enabled(self)
deactivate_recording(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_enabled(self, *a, **k)
on_enabled_changed(self)
register_disconnectable(self, slot)
register_disconnectables(self, disconnectables)
register_slot(self, *a, **k)
remove_enabled_listener(self, slot)
set_enabled(self, enable)
set_new_button(self, button)
set_new_scene_button(self, button)
set_scene_list_new_button(self, button)
unregister_disconnectable(self, slot)
update(self)

Attributes

  • _SessionRecordingComponent__on_is_playing_changed_in_live = None
  • _SessionRecordingComponent__on_new_button_value = None
  • _SessionRecordingComponent__on_new_scene_button_value = None
  • _SessionRecordingComponent__on_re_enable_automation_enabled_changed = None
  • _SessionRecordingComponent__on_scene_list_new_button_value = None
  • _SessionRecordingComponent__on_session_automation_record_changed = None
  • _SessionRecordingComponent__on_tracks_changed_in_live = None
  • _has_task_group = False - bool(x) -> bool
  • _layer = None
  • _on_playing_clip_has_envelopes_changed = None
  • _tasks = <ableton.v2.base.util.lazy_attribute object at 0x163088ef0>
  • automation_button = <ableton.v2.control_surface.control.toggle_button.ToggleButtonControl object at 0x1635552b0>
  • canonical_parent = None
  • delete_automation_button = <ableton.v2.control_surface.control.button.ButtonControl object at 0x163555320>
  • is_private = False - bool(x) -> bool
  • name = '' - str(object='') -> str
  • re_enable_automation_button = <ableton.v2.control_surface.control.button.ButtonControl object at 0x1635552e8>
  • record_button = <ableton.v2.control_surface.control.button.ButtonControl object at 0x163555358>

class ToggleButtonControl(ButtonControlBase)

Properties

  • double_clicked
  • pressed
  • pressed_delayed
  • released
  • released_delayed
  • released_immediately
  • toggled
  • value

Methods

State(untoggled_color=None, toggled_color=None, *a, **k)
__init__(self, *a, **k)

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

_clear_state(self, manager)
_get_state(self, manager, state_factory=None)
_make_control_state(self, manager)

Attributes

  • DELAY_TIME = 0.3 - Convert a string or number to a floating point number, if possible.
  • DOUBLE_CLICK_TIME = 0.5 - Convert a string or number to a floating point number, if possible.
  • REPEAT_RATE = 0.1 - Convert a string or number to a floating point number, if possible.
  • _extra_args = [] - Built-in mutable sequence.
  • _extra_kws = {} - dict() -> new empty dictionary