this file libDaisy/MidiEvent.h at master · electro-smith/libDaisy · GitHub has a parser for MTC:
MTCQuarterFrameEvent AsMTCQuarterFrame()
and
/** Struct containing QuarterFrame data.
Can be made from MidiEvent
*/
struct MTCQuarterFrameEvent
{
uint8_t message_type; /**< & */
uint8_t value; /**< & */
};
as well as
enum SystemRealTimeType
{
TimingClock, /**< & */
SRTUndefined0, /**< & */
Start, /**< & */
Continue, /**< & */
Stop, /**< & */
SRTUndefined1, /**< & */
ActiveSensing, /**< & */
Reset, /**< & */
SystemRealTimeLast, /**< & */
};