Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
MidiNoteDescriptor Class Reference

A descriptor for a MidiNote, used by the piano roll. More...

#include <src/gui/backend/backend/piano_roll.h>

Collaboration diagram for MidiNoteDescriptor:

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.

Detailed Description

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 42 of file piano_roll.h.


The documentation for this class was generated from the following file: