MidiNoteDescriptor struct

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

Contents

Notes will only be draggable and reorderable in drum mode.

In normal mode, only visibility can be changed.

Public variables

int index
The index to display the note at.
int value
The actual value (0-127).
int visible
Whether the note is visible or not.
char* custom_name
Custom name, from midnam or GM MIDI specs, etc.
char* note_name
Name of the note, from C-2 to B8.
char* note_name_pango
Note name with extra formatting.
int marked
Whether the note is highlighted/marked or not.

Variable documentation

int MidiNoteDescriptor::value

The actual value (0-127).

Must be unique in the array.

char* MidiNoteDescriptor::custom_name

Custom name, from midnam or GM MIDI specs, etc.

This is only used in drum mode.