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

int schema_version
 
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 167 of file piano_roll.h.

Field Documentation

◆ current_notes

int PianoRoll::current_notes[128]

Currently pressed notes (used only at runtime).

Definition at line 178 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 203 of file piano_roll.h.

◆ editor_settings

EditorSettings PianoRoll::editor_settings

Definition at line 205 of file piano_roll.h.

◆ highlighting

PianoRollHighlighting PianoRoll::highlighting

Highlighting notes depending on the current chord or scale.

Definition at line 193 of file piano_roll.h.

◆ midi_modifier

MidiModifier PianoRoll::midi_modifier

Selected MidiModifier.

Definition at line 175 of file piano_roll.h.

◆ notes_zoom

float PianoRoll::notes_zoom

Notes zoom level.

Definition at line 172 of file piano_roll.h.

◆ num_current_notes

int PianoRoll::num_current_notes

Definition at line 179 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 187 of file piano_roll.h.

◆ schema_version

int PianoRoll::schema_version

Definition at line 169 of file piano_roll.h.


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