improved performance of midi file playback