sound: fix MIDI timing