ableton.v3.control_surface.components.recording (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Functions¶
abstractmethod(funcobj)¶
depends(**dependencies)¶
is_track_armed(track)¶
is_track_recording(track)¶
liveobj_valid(obj)¶
playing_clip_slot(track)¶
prepare_new_clip_slot(track, stop=False)¶
selected_clip_slot(track)¶
Classes¶
class ABC¶
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
Attributes¶
_abc_impl=<_abc_data object at 0x118694cc0>
class BasicRecordingMethod(RecordingMethod)¶
Methods¶
__init__(self, song=None, target_track=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
can_record_into_clip_slot(clip_slot)¶
start_recording(self, *_)¶
stop_recording(self)¶
trigger_recording(self)¶
Attributes¶
_abc_impl=<_abc_data object at 0x163b744e0>
class ButtonControl(ButtonControlBase)¶
Properties¶
double_clickedpressedpressed_delayedreleasedreleased_delayedreleased_immediatelyvalue
Methods¶
State(color='DefaultButton.On', on_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
class Component(ControlManager)¶
Properties¶
applicationis_rootlayerparentsong
Methods¶
__init__(self, name='', parent=None, register_component=None, song=None, layer=None, is_enabled=True, is_private=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_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)¶
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)¶
set_enabled(self, enable)¶
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 NextSlotRecordingMethod(RecordingMethod)¶
Methods¶
__init__(self, song=None, target_track=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
can_record_into_clip_slot(clip_slot)¶
start_recording(self, *_)¶
stop_recording(self)¶
trigger_recording(self)¶
Attributes¶
_abc_impl=<_abc_data object at 0x163b74510>
class NextSlotWithOverdubRecordingMethod(NextSlotRecordingMethod)¶
Methods¶
__init__(self, song=None, target_track=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
can_record_into_clip_slot(clip_slot)¶
start_recording(self, *_)¶
stop_recording(self)¶
trigger_recording(self)¶
Attributes¶
_abc_impl=<_abc_data object at 0x163b74570>
class Quantization(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¶
denominator=<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 numbername=<member 'name' of 'Boost.Python.enum' objects>names={'q_no_q': Song.Quantization.q_no_q, 'q_8_bars': Song.Quantization.q_8_bars, 'q_4_bars': Song.Quantization.q_4_bars, 'q_2_bars': Song.Quantization.q_2_bars, 'q_...- dict() -> new empty dictionarynumerator=<attribute 'numerator' of 'int' objects>- the numerator of a rational number in lowest termsq_2_bars=Song.Quantization.q_2_barsq_4_bars=Song.Quantization.q_4_barsq_8_bars=Song.Quantization.q_8_barsq_bar=Song.Quantization.q_barq_eight=Song.Quantization.q_eightq_eight_triplet=Song.Quantization.q_eight_tripletq_half=Song.Quantization.q_halfq_half_triplet=Song.Quantization.q_half_tripletq_no_q=Song.Quantization.q_no_qq_quarter=Song.Quantization.q_quarterq_quarter_triplet=Song.Quantization.q_quarter_tripletq_sixtenth=Song.Quantization.q_sixtenthq_sixtenth_triplet=Song.Quantization.q_sixtenth_tripletq_thirtytwoth=Song.Quantization.q_thirtytwothreal=<attribute 'real' of 'int' objects>- the real part of a complex numbervalues={0: Song.Quantization.q_no_q, 1: Song.Quantization.q_8_bars, 2: Song.Quantization.q_4_bars, 3: Song.Quantization.q_2_bars, 4: Song.Quantization.q_bar, 5: Song.Q...- dict() -> new empty dictionary
class RecordingComponent(Component, Renderable)¶
Properties¶
applicationis_rootlayerparentsong
Methods¶
__init__(self, target_track=None, recording_method_type=None, name='Recording', *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_create_event_handler(self, property_name)¶
_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)¶
_release_all_layers(self)¶
_set_enabled_recursive(self, enable)¶
_update_is_enabled(self)¶
_update_new_button(self)¶
_update_session_record_button(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)¶
control_base_type(extra_args=None, extra_kws=None, *a, **k)¶
control_notifications_enabled(self)¶
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)¶
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)¶
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)¶
set_enabled(self, enable)¶
suppress_notifications(self)¶
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) -> boolarrangement_overdub_button=<ableton.v3.control_surface.controls.toggle_button.ToggleButtonControl object at 0x163b783c8>arrangement_record_button=<ableton.v3.control_surface.controls.toggle_button.ToggleButtonControl object at 0x163b78390>canonical_parent=Noneinclude_in_top_level_state=True- bool(x) -> boolnew_button=<ableton.v3.control_surface.controls.button.ButtonControl object at 0x163b78400>num_layers=0- int([x]) -> integerrenderable_state=<ableton.v2.base.util.lazy_attribute object at 0x1639d72e8>session_overdub_button=<ableton.v3.control_surface.controls.toggle_button.ToggleButtonControl object at 0x163b78358>session_record_button=<ableton.v3.control_surface.controls.button.ButtonControl object at 0x163b78320>
class RecordingMethod(ABC)¶
Methods¶
__init__(self, song=None, target_track=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
can_record_into_clip_slot(clip_slot)¶
start_recording(self, *_)¶
stop_recording(self)¶
trigger_recording(self)¶
Attributes¶
_abc_impl=<_abc_data object at 0x163b74480>
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 SelectedSlotRecordingMethod(RecordingMethod)¶
Methods¶
__init__(self, song=None, target_track=None, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_record_in_slot(self, slot)¶
can_record_into_clip_slot(clip_slot)¶
start_recording(self, *_)¶
stop_recording(self)¶
trigger_recording(self)¶
Attributes¶
_abc_impl=<_abc_data object at 0x163b74540>
class SessionRecordStatus(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¶
denominator=<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 numbername=<member 'name' of 'Boost.Python.enum' objects>names={'off': Song.SessionRecordStatus.off, 'transition': Song.SessionRecordStatus.transition, 'on': Song.SessionRecordStatus.on}- dict() -> new empty dictionarynumerator=<attribute 'numerator' of 'int' objects>- the numerator of a rational number in lowest termsoff=Song.SessionRecordStatus.offon=Song.SessionRecordStatus.onreal=<attribute 'real' of 'int' objects>- the real part of a complex numbertransition=Song.SessionRecordStatus.transitionvalues={0: Song.SessionRecordStatus.off, 2: Song.SessionRecordStatus.transition, 1: Song.SessionRecordStatus.on}- dict() -> new empty dictionary
class ToggleButtonControl(ButtonControl)¶
Properties¶
double_clickedpressedpressed_delayedreleasedreleased_delayedreleased_immediatelytoggledvalue
Methods¶
State(color='DefaultButton.On', on_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
class ViewBasedRecordingComponent(RecordingComponent)¶
Properties¶
applicationis_rootlayerparentsong
Methods¶
__init__(self, name='View_Based_Recording', *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_add_child(self, component)¶
_create_event_handler(self, property_name)¶
_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)¶
_release_all_layers(self)¶
_set_enabled_recursive(self, enable)¶
_update_is_enabled(self)¶
_update_new_button(self)¶
_update_overdub_button_assignments(self)¶
_update_record_button_assignments(self)¶
_update_session_record_button(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)¶
control_base_type(extra_args=None, extra_kws=None, *a, **k)¶
control_notifications_enabled(self)¶
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)¶
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)¶
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)¶
set_enabled(self, enable)¶
set_overdub_button(self, button)¶
set_record_button(self, button)¶
suppress_notifications(self)¶
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) -> boolarrangement_overdub_button=<ableton.v3.control_surface.controls.toggle_button.ToggleButtonControl object at 0x163b783c8>arrangement_record_button=<ableton.v3.control_surface.controls.toggle_button.ToggleButtonControl object at 0x163b78390>canonical_parent=Noneinclude_in_top_level_state=True- bool(x) -> boolnew_button=<ableton.v3.control_surface.controls.button.ButtonControl object at 0x163b78400>num_layers=0- int([x]) -> integerrenderable_state=<ableton.v2.base.util.lazy_attribute object at 0x1639d72e8>session_overdub_button=<ableton.v3.control_surface.controls.toggle_button.ToggleButtonControl object at 0x163b78358>session_record_button=<ableton.v3.control_surface.controls.button.ButtonControl object at 0x163b78320>