Skip to main content

Module state

Module state 

Source
Expand description

TUI navigation state — focus, cursors, selection, leader keys, FX.

Navigation: Space+N → jump to component (1=Tracks, 2=ClipView) Tab → cycle focus between components j/k → vertical nav h/l → horizontal nav Enter → select / activate / open menus Esc → back out one level

Modules§

undo
Undo/redo system — u to undo, r to redo (vim-style).

Structs§

Clip
ClipViewState
ConfirmModal
FxInstance
An FX instance on a track.
FxMenu
FX menu state (opened when pressing Enter on fx button).
InputModal
InstrumentModal
LoopEditor
NavState
NumberBuffer
PianoRollState
QuantizeModal
SpaceMenu
The space menu: press Space to open, Space again to close. Shows all Space+key shortcuts, actions, and help topics.
TrackState
TransportUiState
State for transport pane navigation.

Enums§

ClipTab
Tab in the piano roll / clip area (right side of clip view).
ClipViewFocus
Which sub-panel of the clip view has focus.
ConfirmKind
EditSubMode
FxPanelTab
Tab in the FX panel (left side of clip view).
FxType
GridResolution
InputModalKind
InstrumentType
Pane
PianoRollFocus
What level of the piano roll is focused. Follows the Right Left Trick Controls pattern: Navigation → Selected (column) → Row (individual note)
SpaceAction
Actions that can be triggered from the space menu.
SpaceMenuSection
TrackElement
TransportElement
Navigable elements in the transport bar.

Constants§

HELP_TOPICS
Help topic entries: (title, short description).
INST_CONFIG_PARAM_COUNT
Total number of parameters in the inst config panel (LFO:4 + Filter:4 + Envelope:4 + Pitch:3).
MAX_VISIBLE_TRACKS
SPACE_ACTIONS
Space menu action entries: (key, label, description).

Functions§

initial_tracks
Initial tracks: just the bus tracks. Instruments are added by the user via Space+A.