PianoRoll struct

Piano roll serializable backend.

Contents

The actual widgets should reflect the information here.

Public variables

float notes_zoom
Notes zoom level.
MidiModifier midi_modifier
Selected MidiModifier.
int current_notes
Currently pressed notes (used only at runtime).
MidiNoteDescriptor* piano_descriptors
Piano roll mode descriptors.
PianoRollHighlighting highlighting
Highlighting notes depending on the current chord or scale.
MidiNoteDescriptor* drum_descriptors
Drum mode descriptors.

Variable documentation

MidiNoteDescriptor* PianoRoll::piano_descriptors

Piano roll mode descriptors.

For performance purposes, invisible notes must be sorted at the end of the array.

MidiNoteDescriptor* PianoRoll::drum_descriptors

Drum mode descriptors.

These must be sorted by index at all times.

For performance purposes, invisible notes must be sorted at the end of the array.