|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A descriptor for a MidiNote, used by the piano roll. More...
#include <src/structure/arrangement/piano_roll.h>

Public Member Functions | |
| auto | get_custom_name () const |
| void | set_custom_name (const utils::Utf8String &str) |
Data Fields | |
| int | index_ = 0 |
| The index to display the note at. | |
| int | value_ = 0 |
| The actual value (0-127). | |
| bool | visible_ = true |
| Whether the note is visible or not. | |
| utils::Utf8String | custom_name_ |
| Custom name, from midnam or GM MIDI specs, etc. | |
| utils::Utf8String | note_name_ |
| Name of the note, from C-2 to B8. | |
| utils::Utf8String | note_name_pango_ |
| Note name with extra formatting. | |
| bool | marked_ = false |
| Whether the note is highlighted/marked or not. | |
A descriptor for a MidiNote, used by the piano roll.
Notes will only be draggable and reorderable in drum mode.
In normal mode, only visibility can be changed.
Definition at line 29 of file piano_roll.h.
|
inline |
Definition at line 32 of file piano_roll.h.
|
inline |
Definition at line 34 of file piano_roll.h.
| utils::Utf8String zrythm::structure::arrangement::MidiNoteDescriptor::custom_name_ |
Custom name, from midnam or GM MIDI specs, etc.
This is only used in drum mode.
Definition at line 57 of file piano_roll.h.
| int zrythm::structure::arrangement::MidiNoteDescriptor::index_ = 0 |
The index to display the note at.
Definition at line 40 of file piano_roll.h.
| bool zrythm::structure::arrangement::MidiNoteDescriptor::marked_ = false |
Whether the note is highlighted/marked or not.
Definition at line 66 of file piano_roll.h.
| utils::Utf8String zrythm::structure::arrangement::MidiNoteDescriptor::note_name_ |
Name of the note, from C-2 to B8.
Definition at line 60 of file piano_roll.h.
| utils::Utf8String zrythm::structure::arrangement::MidiNoteDescriptor::note_name_pango_ |
Note name with extra formatting.
Definition at line 63 of file piano_roll.h.
| int zrythm::structure::arrangement::MidiNoteDescriptor::value_ = 0 |
| bool zrythm::structure::arrangement::MidiNoteDescriptor::visible_ = true |
Whether the note is visible or not.
Definition at line 50 of file piano_roll.h.