Skip to content

ableton.v2.control_surface.control_surface

Module constants

  • logger
  • CS_LIST_KEY = 'control_surfaces'

Classes

class SimpleControlSurface(EventObject)

Bases: EventObject

Attributes

  • preferences_key = None
  • handle_undo_steps = False
  • _tasks

__init__(self, c_instance, *a, **k)

components(self)

root_components(self)

controls(self)

_get_tasks(self)

application(self)

song(self)

disconnect(self)

can_lock_to_devices(self)

suggest_map_mode(self, cc_no, channel)

supports_pad_translation(self)

show_message(self, message)

connect_script_instances(self, instanciated_scripts)

request_rebuild_midi_map(self)

build_midi_map(self, midi_map_handle)

port_settings_changed(self)

refresh_state(self)

update(self)

update_display(self)

update_display_hook(self)

receive_midi(self, midi_bytes)

receive_midi_chunk(self, midi_chunk)

_receive_midi_data(recipient, data)

_do_receive_midi(self, midi_bytes)

_merge_midi_data(recipient, data, midi_data)

_do_receive_midi_chunk(self, midi_chunk)

process_midi_bytes(self, midi_bytes, midi_processor)

get_recipient_for_nonsysex_midi_message(self, midi_bytes)

get_registry_entry_for_sysex_midi_message(self, midi_bytes)

suppressing_rebuild_requests(self)

_set_suppress_rebuild_requests(self, suppress_requests)

set_pad_translations(self, pad_translations)

set_enabled(self, enable)

schedule_message(self, delay_in_ticks, callback, parameter)

set_feedback_channels(self, channels)

set_controlled_track(self, track)

release_controlled_track(self)

_register_control(self, control)

_register_component(self, component)

_disconnect_and_unregister_all_components(self)

component_guard(self)

_component_guard(self)

call_listeners(self, listeners)

accumulating_midi_messages(self)

get_control_by_name(self, control_name)

get_component_by_name(self, component_name)

_send_midi(self, midi_event_bytes, optimized)

_flush_midi_messages(self)

_do_send_midi(self, midi_event_bytes)

_install_mapping(self, midi_map_handle, control, parameter, feedback_delay, feedback_map)

_install_forwarding(self, midi_map_handle, control, forwarding_type)

_translate_message(self, type, from_identifier, from_channel, to_identifier, to_channel)

preferences(self)

_pre_serialize(self)

class ControlSurface(SimpleControlSurface)

Bases: SimpleControlSurface

Attributes

  • device_provider_class

__init__(self, *a, **k)

_init_device_provider(self)

device_provider(self)

disconnect(self)

can_lock_to_devices(self)

lock_to_device(self, device)

unlock_from_device(self, device)

restore_bank(self, bank_index)

toggle_lock(self)

_component_guard(self)

Functions

publish_control_surface(control_surface)

get_control_surfaces()