Skip to content

ableton.v3.control_surface.identification

Module constants

  • logger
  • NON_REALTIME_HEADER
  • STANDARD_RESPONSE_BYTES
  • PRODUCT_ID_BYTES_START_INDEX = 3

Classes

class Responder(ABC)

Bases: ABC

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

create_response_element(self)

is_valid_response(self, response_bytes)

class CustomSysexResponder(Responder)

Bases: Responder

create_response_element(self)

is_valid_response(self, _)

class PlainMidiResponder(Responder)

Bases: Responder

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

create_response_element(self)

is_valid_response(self, response_bytes)

class StandardResponder(Responder)

Bases: Responder

__init__(self, *a, **k)

create_response_element(self)

is_valid_response(self, response_bytes)

_extract_product_id_bytes(self, midi_bytes)

class IdentityResponseError(Exception)

Bases: Exception

__init__(self, expected_bytes, actual_bytes)

class IdentificationComponent(Component, Renderable)

Bases: Component, Renderable

Attributes

  • is_identified
  • received_response_bytes

__init__(self, name, identity_request, identity_request_delay, identity_response_id_bytes, custom_identity_response, send_midi, *a, **k)

identity_response_control(self, response_bytes, _)

request_identity(self)

_send_identity_request(self)

Functions

status_byte_to_msg_type(status_byte)

create_responder(identity_response_id_bytes, custom_identity_response)