|
Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
|
A descriptor for a MidiNote, used by the piano roll. More...
#include <src/structure/project/midi_editor.h>

Public Member Functions | |
| auto | 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 34 of file midi_editor.h.
|
inline |
Definition at line 37 of file midi_editor.h.
|
inline |
Definition at line 39 of file midi_editor.h.
| utils::Utf8String zrythm::structure::project::MidiNoteDescriptor::custom_name_ |
Custom name, from midnam or GM MIDI specs, etc.
This is only used in drum mode.
Definition at line 62 of file midi_editor.h.
| int zrythm::structure::project::MidiNoteDescriptor::index_ = 0 |
The index to display the note at.
Definition at line 45 of file midi_editor.h.
| bool zrythm::structure::project::MidiNoteDescriptor::marked_ = false |
Whether the note is highlighted/marked or not.
Definition at line 71 of file midi_editor.h.
| utils::Utf8String zrythm::structure::project::MidiNoteDescriptor::note_name_ |
Name of the note, from C-2 to B8.
Definition at line 65 of file midi_editor.h.
| utils::Utf8String zrythm::structure::project::MidiNoteDescriptor::note_name_pango_ |
Note name with extra formatting.
Definition at line 68 of file midi_editor.h.
| int zrythm::structure::project::MidiNoteDescriptor::value_ = 0 |
| bool zrythm::structure::project::MidiNoteDescriptor::visible_ = true |
Whether the note is visible or not.
Definition at line 55 of file midi_editor.h.