Push2.scales_component¶
Module constants¶
Layout
Classes¶
class ScalesComponent(Component)¶
Bases: Component
Attributes¶
navigation_colorsin_key_toggle_buttonfixed_toggle_buttonhorizontal_navigationNUM_DISPLAY_ROWS = 4NUM_DISPLAY_COLUMNS_ScalesComponent__on_root_note_changed_ScalesComponent__on_scale_changed_ScalesComponent__on_interval_changed
__init__(self, note_layout, *a, **k)¶
_set_selected_scale_index(self, index)¶
down_button(self, button)¶
up_button(self, button)¶
left_button(self, button)¶
right_button(self, button)¶
root_note_buttons(self, button)¶
__on_root_note_changed(self, root_note)¶
root_note_names(self)¶
selected_root_note_index(self)¶
scale_encoders(self, value, encoder)¶
scale_names(self)¶
selected_scale_index(self)¶
__on_scale_changed(self, scale)¶
layout_encoder(self, value, encoder)¶
layout_names(self)¶
selected_layout_index(self)¶
selected_layout_index(self, index)¶
direction_encoder(self, value, encoder)¶
note_layout(self)¶
_update_horizontal_navigation(self)¶
__on_interval_changed(self, interval)¶
class ScalesEnabler(Component)¶
Bases: Component