gui/backend/midi_arranger_selections.h file

API for selections in the piano roll.

Contents

Classes

struct MidiArrangerSelections
Selections to be used for the midi_arranger's current selections, copying, undoing, etc.

Typedefs

using MidiArrangerSelections = struct MidiArrangerSelections
Selections to be used for the midi_arranger's current selections, copying, undoing, etc.

Functions

auto midi_arranger_selections_get_first_midi_note(MidiArrangerSelections* mas, int transient) -> MidiNote*
Gets first (position-wise) MidiNote.
auto midi_arranger_selections_get_last_midi_note(MidiArrangerSelections* mas, int transient) -> MidiNote*
Gets last (position-wise) MidiNote.

Defines

#define midi_arranger_selections_add_velocity(mas, vel)
Adds a Velocity (MidiNote) to the selections.
#define midi_arranger_selections_remove_velocity(mas, vel)
Removes a Velocity (MidiNote) from the selections.