MidiEvent struct
#include <audio/midi_event.h>
Backend-agnostic MIDI event descriptor.
Contents
- Reference
Public variables
- MidiEventType type
- The values below will be filled in depending on what event this is.
- int pitchbend
- -8192 to 8191.
-
midi_
byte_ t controller - The controller, for control events.
-
midi_
byte_ t control - Control value (also used for modulation wheel (0 ~ 127).
-
midi_
byte_ t channel - MIDI channel, starting from 1.
-
midi_
byte_ t note_pitch - Note value (0 ~ 127).
-
midi_
byte_ t velocity - Velocity (0 ~ 127).
-
midi_
time_ t time - Time of the MIDI event, in frames from the start of the current cycle.
- gint64 systime
- Time using g_get_monotonic_time ().
-
midi_
byte_ t raw_buffer - Raw MIDI data.