PlayStreamEvent.midiClockPosition

Gives the position ot the global midi clock for this event. The event.deltaTime is in units of the midi clock, but the actual event has the clock per-track whereas this value is global, meaning it might not be the sum of event.deltaTime to this point. (It should add up if you only sum ones with the same track though.

The midi clock is used in conjunction with the MidiFile.timing and current tempo state to determine a real time wait value, which you can find in the wait member.

This position is probably less useful than the running sum of waits, but is provided just in case it is useful to you.

struct PlayStreamEvent
int midiClockPosition;

Meta