Midi clock synchronization optimization