Skip to content

KeyLab.KeyLab

Module constants

  • PAD_NOTE_MODE = 10
  • ENCODER_HARDWARE_IDS
  • SLIDER_HARDWARE_IDS = (43, 44, 45, 46, 107, 108, 109, 110, 111)
  • PAD_HARDWARE_IDS
  • ENCODER_MSG_IDS = (74, 71, 76, 77, 18, 19, 16, 17, 93, 91)
  • SLIDER_MSG_IDS = (73, 75, 79, 72, 80, 81, 82, 83, 85)
  • PAD_MSG_IDS
  • MESSAGE_DELAY = 0.1
  • BUTTON_HARDWARE_AND_MESSAGE_IDS
  • ENCODER_CHANNEL = 0
  • PAD_CHANNEL = 9

Classes

class KeyLab(ArturiaControlSurface)

Bases: ArturiaControlSurface

__init__(self, *a, **k)

_create_controls(self)

_create_display(self)

_create_device(self)

_create_drums(self)

_create_transport(self)

_create_session(self)

_create_session_recording(self)

_create_mixer(self)

_collect_setup_messages(self)

_setup_hardware_encoder(self, hardware_id, identifier, channel)

_setup_hardware_button(self, hardware_id, identifier, channel, **k)

_setup_hardware_pad(self, hardware_id, identifier, channel)

_set_pad_note_msg_type(self, hardware_id)

_setup_hardware(self)

Functions

get_button_identifier_by_name(identifier)