mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
Piano+LibDSP: Move Track to LibDSP
This is a tangly commit and it fixes all the bugs that a plain move would have caused (i.e. we need to touch other logic which had wrong assumptions).
This commit is contained in:
parent
125122a9ab
commit
4941cffdd0
29 changed files with 322 additions and 413 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
void set_keyboard_note_in_active_octave(i8 octave_offset, Switch note_switch);
|
||||
|
||||
RollNotes const& notes() const { return m_pressed_notes; }
|
||||
Optional<RollNote> note_at(u8 pitch) const { return m_pressed_notes.get(pitch); }
|
||||
Optional<RollNote> note_at(u8 pitch) const { return m_pressed_notes[pitch]; }
|
||||
bool is_pressed(u8 pitch) const;
|
||||
bool is_pressed_in_active_octave(i8 octave_offset) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue