Swadge ESP32-S2  2.0.0
APIs to develop for the Magfest Swadge
Loading...
Searching...
No Matches
midiEvent_t Struct Reference

Detailed Description

Contains information for an entire MIDI event or non-MIDI meta-event.

#include <midiFileParser.h>

Data Fields

uint32_t deltaTime
 The time between this event and the previous event.
uint32_t absTime
 The absolute timestamp of this event in ticks.
midiEventType_t type
 The overall event type – MIDI, Meta, or SysEx.
uint8_t track
 The index of the track which contains this event.
union { 
midiStatusEvent_t midi
 The MIDI status event data, when type is MIDI_EVENT.
midiMetaEvent_t meta
 The non-MIDI meta-event data, when type is META_EVENT.
midiSysexEvent_t sysex
 The MIDI System Exclusive event data, when type is SYSEX_EVENT.
}; 

Field Documentation

◆ deltaTime

uint32_t deltaTime

The time between this event and the previous event.

◆ absTime

uint32_t absTime

The absolute timestamp of this event in ticks.

◆ type

The overall event type – MIDI, Meta, or SysEx.

◆ track

uint8_t track

The index of the track which contains this event.

◆ [union]

union { ... }

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