ableton.v2.control_surface.control.control_list (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Functions¶
clamp(val, minv, maxv)¶
control_list(control_type, *a, **k)¶
control_matrix(control_type, *a, **k)¶
find_if(predicate, seq)¶
first(seq)¶
flatten(list)¶
is_matrix(iterable)¶
mixin(*args)¶
old_div(a, b)¶
old_hasattr(obj, attr)¶
product(iter_a, iter_b)¶
second(seq)¶
Classes¶
class Connectable(EventObject)¶
Properties¶
connected_property_value
Methods¶
__init__(self, *a, **k)¶
Initialize self. See help(type(self)) for accurate signature.
_handle_connected_property_changed(self, value=None)¶
_make_empty_connection(self)¶
_register_property_slot(self, subject, property_name)¶
connect_property(self, subject, property_name, transform=<function nop at 0x14def8bf8>)¶
disconnect(self)¶
disconnect_disconnectable(self, slot)¶
disconnect_property(self)¶
find_disconnectable(self, predicate)¶
has_disconnectable(self, slot)¶
on_connected_property_changed(self, value)¶
register_disconnectable(self, slot)¶
register_disconnectables(self, disconnectables)¶
register_slot(self, *a, **k)¶
unregister_disconnectable(self, slot)¶
Attributes¶
requires_listenable_connected_property=False- bool(x) -> bool
class Control¶
Methods¶
State(control=None, manager=None, *a, **k)¶
__init__(self, extra_args=None, extra_kws=None, *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¶
_extra_args=[]- Built-in mutable sequence._extra_kws={}- dict() -> new empty dictionary
class ControlList(Control)¶
Methods¶
State(control=None, manager=None, unavailable_color=None, extra_args=None, extra_kws=None, *a, **k)¶
__init__(self, control_type=None, control_count=None, *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¶
DYNAMIC_CONTROL_COUNT=None_extra_args=[]- Built-in mutable sequence._extra_kws={}- dict() -> new empty dictionary
class MatrixControl(ControlList)¶
Methods¶
State(control=None, manager=None, dimensions=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¶
DYNAMIC_CONTROL_COUNT=NoneDYNAMIC_DIMENSIONS=(None, None)- Built-in immutable sequence._extra_args=[]- Built-in mutable sequence._extra_kws={}- dict() -> new empty dictionary
class RadioButtonControl(ButtonControlBase)¶
Properties¶
checkeddouble_clickedpressedpressed_delayedreleasedreleased_delayedreleased_immediatelyvalue
Methods¶
State(unchecked_color=None, checked_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 RadioButtonGroup(ControlList, RadioButtonControl)¶
Properties¶
checkeddouble_clickedpressedpressed_delayedreleasedreleased_delayedreleased_immediatelyvalue
Methods¶
State(*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.DYNAMIC_CONTROL_COUNT=NoneREPEAT_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 partial¶
partial(func, args, *keywords) - new function with partial application of the given arguments and keywords.
Methods¶
__call__(self, /, *args, **kwargs)¶
Call self as a function.
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
Attributes¶
args=<member 'args' of 'functools.partial' objects>- tuple of arguments to future partial callsfunc=<member 'func' of 'functools.partial' objects>- function object to use in future partial callskeywords=<member 'keywords' of 'functools.partial' objects>- dictionary of keyword arguments to future partial calls
class zip_longest¶
zip_longest(iter1 [,iter2 [...]], [fillvalue=None]) --> zip_longest object
Return a zip_longest object whose .next() method returns a tuple where the i-th element comes from the i-th iterable argument. The .next() method continues until the longest iterable in the argument sequence is exhausted and then it raises StopIteration. When the shorter iterables are exhausted, the fillvalue is substituted in their place. The fillvalue defaults to None or can be specified by a keyword argument.
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.