I'm looking at the code and trying to determine where the best place to implement a delay in order to add drift compensation to the midi clock. The use case is when using this clock with the PC, the PC will have lag before the audio hits the sound card but my synth will not. So the clock should have some sort of compensation for this in order for all the sound sources to be in time correct? The most obvious place I found was in Tick(void) just after MCLOCK_Tick(); Thoughts? As a side note: looking through the source code, if this clock method is the same method used by the MidiBox SEQ projects, there is no clock prioritization scheme I could see. So if a clock and a note on event where to occur at the same time, would the clock have to wait for the note on and therefore introduce clock drift?