Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
PianoRoll Struct Reference

Piano roll serializable backend. More...

#include <gui/backend/piano_roll.h>

Collaboration diagram for PianoRoll:

Data Fields

float notes_zoom
 Notes zoom level.
 
MidiModifier midi_modifier
 Selected MidiModifier.
 
int current_notes [128]
 Currently pressed notes (used only at runtime).
 
int num_current_notes
 
MidiNoteDescriptorpiano_descriptors [128]
 Piano roll mode descriptors.
 
PianoRollHighlighting highlighting
 Highlighting notes depending on the current chord or scale.
 
MidiNoteDescriptordrum_descriptors [128]
 Drum mode descriptors.
 
EditorSettings editor_settings
 

Detailed Description

Piano roll serializable backend.

The actual widgets should reflect the information here.

Definition at line 163 of file piano_roll.h.

Field Documentation

◆ current_notes

int PianoRoll::current_notes[128]

Currently pressed notes (used only at runtime).

Definition at line 172 of file piano_roll.h.

◆ drum_descriptors

MidiNoteDescriptor* PianoRoll::drum_descriptors[128]

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.

Definition at line 197 of file piano_roll.h.

◆ editor_settings

EditorSettings PianoRoll::editor_settings

Definition at line 199 of file piano_roll.h.

◆ highlighting

PianoRollHighlighting PianoRoll::highlighting

Highlighting notes depending on the current chord or scale.

Definition at line 187 of file piano_roll.h.

◆ midi_modifier

MidiModifier PianoRoll::midi_modifier

Selected MidiModifier.

Definition at line 169 of file piano_roll.h.

◆ notes_zoom

float PianoRoll::notes_zoom

Notes zoom level.

Definition at line 166 of file piano_roll.h.

◆ num_current_notes

int PianoRoll::num_current_notes

Definition at line 173 of file piano_roll.h.

◆ piano_descriptors

MidiNoteDescriptor* PianoRoll::piano_descriptors[128]

Piano roll mode descriptors.

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

Definition at line 181 of file piano_roll.h.


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