ableton.v2.control_surface.internal_parameter¶
Classes¶
class InternalParameterBase(EventObject)¶
Bases: EventObject
Attributes¶
is_enabled = Trueis_quantized = False
__init__(self, name, *a, **k)¶
_has_valid_parent(self)¶
canonical_parent(self)¶
display_value(self)¶
min(self)¶
max(self)¶
value(self)¶
name(self)¶
original_name(self)¶
default_value(self)¶
automation_state(self)¶
state(self)¶
state(self, new_state)¶
_live_ptr(self)¶
__str__(self)¶
class InternalParameter(InternalParameterBase)¶
Bases: InternalParameterBase
Attributes¶
valuelinear_value
__init__(self, parent, display_value_conversion, *a, **k)¶
set_display_value_conversion(self, display_value_conversion)¶
set_scaling_functions(self, to_internal, from_internal)¶
canonical_parent(self)¶
_get_value(self)¶
_set_value(self, new_value)¶
_get_linear_value(self)¶
_set_linear_value(self, new_value)¶
min(self)¶
max(self)¶
display_value(self)¶
class PropertyHostMixin(object)¶
Bases: object
set_property_host(self, new_host)¶
class WrappingParameter(InternalParameter, PropertyHostMixin)¶
Bases: InternalParameter, PropertyHostMixin
Attributes¶
linear_valuevalue
__init__(self, property_host, source_property, from_property_value, to_property_value, display_value_conversion, value_items, *a, **k)¶
set_property_host(self, new_host)¶
_get_property_value(self)¶
_get_value(self)¶
_set_value(self, new_value)¶
display_value(self)¶
is_quantized(self)¶
value_items(self)¶
short_value_items(self)¶
class EnumWrappingParameter(InternalParameterBase, PropertyHostMixin)¶
Bases: InternalParameterBase, PropertyHostMixin
Attributes¶
is_enabled = Trueis_quantized = True
__init__(self, parent, index_property_host, values_host, values_property, index_property, value_type, to_index_conversion, from_index_conversion, *a, **k)¶
set_property_host(self, new_host)¶
display_value(self)¶
value_items(self)¶
short_value_items(self)¶
value(self)¶
value(self, new_value)¶
_get_values(self)¶
_get_index(self)¶
_set_index(self, index)¶
canonical_parent(self)¶
max(self)¶
min(self)¶
class RelativeInternalParameter(InternalParameter)¶
Bases: InternalParameter
Attributes¶
valuelinear_value
default_value(self)¶
_get_value(self)¶
_set_value(self, new_value)¶
class IntegerParameter(InternalParameter)¶
Bases: InternalParameter
Attributes¶
valuelinear_value