Skip to content

ATOM.keyboard

Module constants

  • MAX_START_NOTE = 108
  • SHARP_INDICES = (1, 3, 4, 6, 10, 13, 15)

Classes

class KeyboardComponent(NotePadMixin, PlayableComponent, ScrollComponent)

Bases: NotePadMixin, PlayableComponent, ScrollComponent

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

can_scroll_up(self)

can_scroll_down(self)

scroll_up(self)

scroll_down(self)

_move_start_note(self, factor)

_update_button_color(self, button)

_note_translation_for_button(self, button)