MidiEvent struct

Backend-agnostic MIDI event descriptor.

Contents

Public variables

MidiEventType type
The values below will be filled in depending on what event this is.
int pitchbend
-8192 to 8191.
uint8_t controller
The controller, for control events.
uint8_t control
Control value (also used for modulation wheel (0 ~ 127).
uint8_t channel
MIDI channel.
uint8_t note_pitch
Note value (0 ~ 127).
uint8_t velocity
Velocity (0 ~ 127).
uint32_t time
Time of the MIDI event, in frames.
uint8_t raw_buffer
Raw MIDI data.