Skip to content

ableton.v2.control_surface.decoration

Module constants

  • AutomationState

Classes

class LiveObjectDict(dict)

Bases: dict

__init__(self, *a, **k)

__getitem__(self, key)

__setitem__(self, key, value)

__delitem__(self, key)

__contains__(self, key)

get(self, key, *default)

_transform_key(self, key)

update(self, *a, **k)

prune(self, keys)

class LiveObjectDecorator(CompoundDisconnectable, Proxy)

Bases: CompoundDisconnectable, Proxy

__init__(self, live_object, additional_properties)

__eq__(self, other)

__ne__(self, other)

__nonzero__(self)

__bool__(self)

__hash__(self)

_add_non_automatable_enum_parameter(self, name, list, index)

_add_non_automatable_int_parameter(self, name, property_name, min, max, units)

_add_enum_parameter(self, name, values, default_value)

_add_switch_option(self, name, pname, labels)

_add_on_off_option(self, name, pname)

parameters(self)

options(self)

class DecoratorFactory(CompoundDisconnectable)

Bases: CompoundDisconnectable

Attributes

  • _decorator

__init__(self, *a, **k)

decorate(self, live_object, additional_properties, **k)

_get_decorated_object(self, live_object, additional_properties, **k)

sync_decorated_objects(self, keys)

_should_be_decorated(cls, device)

class NotifyingList(EventObject)

Bases: EventObject

Attributes

  • index

__init__(self, available_values, default_value, *a, **k)

available_values(self)

_get_index(self)

_set_index(self, value)

class PitchParameter(InternalParameter)

Bases: InternalParameter

Attributes

  • value
  • linear_value

__init__(self, integer_value_host, decimal_value_host, *a, **k)

_on_integer_value_changed(self)

_on_decimal_value_changed(self)

_on_integer_value_automation_state_changed(self)

_on_decimal_value_automation_state_changed(self)

_combined_value(self)

_get_value(self)

_set_value(self, new_value)

_get_linear_value(self)

_set_linear_value(self, new_value)

_set_coarse(self, new_value)

_set_finegrain(self, new_value)

decimal_value_host(self)

integer_value_host(self)

min(self)

max(self)

display_value(self)

default_value(self)

automation_state(self)

Functions

get_parameter_by_name(decorator, name)

get_parameter_automation_state(parameter)