20#include "model/note/note_locks.h"
34enum class HeldNoteLock : uint8_t {
70 void arm(int32_t i,
bool samePress =
false);
82 [[nodiscard]]
HeldNote getHeldNote(int32_t yDisplay);
91 bool setMenuLock(int32_t param, int32_t value);
92 bool removeMenuLock(int32_t param);
93 bool clearMenuLocks();
102 [[nodiscard]] std::optional<PressedRow>
getRowOfPress(int32_t i);
103 [[nodiscard]] uint16_t getCommittedLockSet(int32_t i);
107 template <
typename Change>
108 bool changeMenuLocks(Change change);
111 bool notLockableNoticeDue_{
false};
Definition instrument_clip_view.h:84
Definition model_stack.h:264
bool setHeldValue(ModelStackWithAutoParam *modelStack, int32_t value)
Definition note_lock_editor.cpp:305
deluge::note_locks::LockSet getMenuLocks()
The left-most targeted note's locks, with any pending edits.
Definition note_lock_editor.cpp:345
bool editsHeldNotes(ModelStackWithAutoParam const *modelStack)
Pads are held in the clip view, and this is one of its params a held-pad knob turn edits.
Definition note_lock_editor.cpp:245
bool heldNoteLocksSustain(int32_t yDisplay)
The note held in this row locks a sustain (committed or still live), so it has a tail even on a sound...
Definition note_lock_editor.cpp:219
bool takeNotLockableNotice()
True once per pad press: show the "not lockable" notice before the automated value.
Definition note_lock_editor.h:64
HeldNoteLock getHeldValue(ModelStackWithAutoParam *modelStack, int32_t *value)
Definition note_lock_editor.cpp:284
bool automatesHeldNotes(ModelStackWithAutoParam const *modelStack)
Definition note_lock_editor.cpp:254
void arm(int32_t i, bool samePress=false)
Definition note_lock_editor.cpp:152
void commit(int32_t i)
Definition note_lock_editor.cpp:167
std::optional< PressedRow > getRowOfPress(int32_t i)
The row press i is in, if it plays a Sound (a synth, or a kit's sound drum).
Definition note_lock_editor.cpp:136
Definition note_row.h:106
Definition note_locks.h:63
How a note's parameter locks (note_locks.h) get from the sequencer to the Voice that plays the note.
Definition note_lock_editor.h:29
What the audition of a held note in this row plays with: the note's committed set,...
Definition note_lock_editor.h:78
Definition note_lock_editor.h:96
Definition note_lock_playback.h:46