|
Swadge ESP32-S2
2.0.0
APIs to develop for the Magfest Swadge
|
Data Fields | |
| const char * | text |
Contains text data, when {type <= 0x0F}. | |
| const uint8_t * | data |
| Contains binary data, when type is PROPRIETARY. | |
| uint32_t | tempo |
| Contains a tempo, in microseconds per quarter note, when type is TEMPO. | |
| uint16_t | sequenceNumber |
| Contains a sequence number for this track, when type is SEQUENCE_NUMBER. | |
| uint8_t | prefix |
| Contains a channel or port prefix, when type is CHANNEL_PREFIX or PORT_PREFIX respectively. | |
| struct { | |
| uint8_t | hour |
| uint8_t | min |
| uint8_t | sec |
| uint8_t | frame |
| uint8_t | frameHundredths |
| } | startTime |
| Contains the start time of this track, when type is SMPTE_OFFSET. | |
| midiTimeSignature_t | timeSignature |
| Contains time signature data, when type is TIME_SIGNATURE. | |
| struct { | |
| uint8_t | flats |
| The number of flats in the key. | |
| uint8_t | sharps |
| The number of sharps in the key. | |
| bool | minor |
| True for a minor key, false for a major key. | |
| } | keySignature |
| Contains key signature data, when type is KEY_SIGNATURE. | |
Contains text data, when {type <= 0x0F}.
Contains binary data, when type is PROPRIETARY.
Contains a tempo, in microseconds per quarter note, when type is TEMPO.
Contains a sequence number for this track, when type is SEQUENCE_NUMBER.
Contains a channel or port prefix, when type is CHANNEL_PREFIX or PORT_PREFIX respectively.
Contains the start time of this track, when type is SMPTE_OFFSET.
Contains time signature data, when type is TIME_SIGNATURE.
Contains key signature data, when type is KEY_SIGNATURE.
flats or sharps will contain a nonzero value.