![]() |
Deluge Firmware 1.3.0
Build date: 2025.04.16
|
Public Member Functions | |
virtual void | evaluatePads (PressedPad presses[kMaxNumKeyboardPadPresses])=0 |
Handle input pad presses. | |
virtual void | handleVerticalEncoder (int32_t offset)=0 |
Shift state not supplied since that function is already taken. | |
virtual void | handleHorizontalEncoder (int32_t offset, bool shiftEnabled, PressedPad presses[kMaxNumKeyboardPadPresses], bool encoderPressed=false)=0 |
Will be called with offset 0 to recalculate bounds on clip changes. | |
virtual void | precalculate ()=0 |
This function is called on visibility change and if colour offset changes. | |
virtual void | renderPads (RGB image[][kDisplayWidth+kSideBarWidth]) |
Handle output. | |
virtual void | renderSidebarPads (RGB image[][kDisplayWidth+kSideBarWidth]) |
virtual l10n::String | name ()=0 |
virtual bool | supportsInstrument () |
This currently includes Synth, MIDI and CV. | |
virtual bool | supportsKit () |
virtual RequiredScaleMode | requiredScaleMode () |
virtual NotesState & | getNotesState () |
virtual void | checkNewInstrument (Instrument *newInstrument) |
Public Attributes | |
uint8_t | velocity = 64 |
Protected Member Functions | |
bool | isKit () |
int16_t | getRootNote () |
Song root note can be in any octave, layouts get the normalized one. | |
bool | getScaleModeEnabled () |
uint8_t | getScaleNoteCount () |
NoteSet & | getScaleNotes () |
uint8_t | getDefaultVelocity () |
int32_t | getLowestClipNote () |
int32_t | getHighestClipNote () |
RGB | getNoteColour (uint8_t note) |
NoteHighlightIntensity & | getHighlightedNotes () |
NoteHighlightIntensity & | getNornsNotes () |
KeyboardState & | getState () |
Protected Attributes | |
NotesState | currentNotesState |
|
pure virtual |
Handle input pad presses.
Implemented in deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard, deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, deluge::gui::ui::keyboard::layout::KeyboardLayoutNorns, deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano, and deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums.
|
pure virtual |
Will be called with offset 0 to recalculate bounds on clip changes.
Implemented in deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard, deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, deluge::gui::ui::keyboard::layout::KeyboardLayoutNorns, deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano, and deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums.
|
pure virtual |
Shift state not supplied since that function is already taken.
Implemented in deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard, deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, deluge::gui::ui::keyboard::layout::KeyboardLayoutNorns, deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano, and deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums.
|
pure virtual |
This function is called on visibility change and if colour offset changes.
Implemented in deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, deluge::gui::ui::keyboard::layout::KeyboardLayoutNorns, deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano, and deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums.
|
inlinevirtual |
Handle output.
Reimplemented in deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, deluge::gui::ui::keyboard::layout::KeyboardLayoutNorns, deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano, and deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums.
|
inlinevirtual |
This currently includes Synth, MIDI and CV.
Reimplemented in deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, deluge::gui::ui::keyboard::layout::KeyboardLayoutNorns, deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano, and deluge::gui::ui::keyboard::layout::KeyboardLayoutVelocityDrums.