Windows SDK 2.1.0
MIDI Playback Issue.zip (437.8 KB)
I have a short MIDI file with two tracks which is loaded in a project and played back. I expect it to play back the notes as written and confirmed with various external MIDI utilities, but under certain conditions, specific notes are cut very short (notes are silenced almost immediately after playing).
I've attached a project which demonstrates the behavior. It will automatically play 5 variations of "Pop Goes the Weasel" to test different inputs:
The original MIDI file, which I rendered from an external utility. Sequence is played using Playdate synth (square waves). No apparent issues with playback
A modified version of the MIDI file used in (1), where I have moved all notes closer to the start of the song (intent was to make the notes start playing sooner). I did not try to snap the notes to a particular step. Sequence is played using Playdate synth. The song plays, but several of the notes are unexpectedly cut short
A modified version of the MIDI file used in (1), where I have lengthened all notes to intentionally make them overlap. The results are similar to (2)
Same as (2), but using a piano sample as the instrument. Same results as (2)
Same as (3), but using a piano sample as the instrument. Same results as (2)
I'm out of ideas for what could be causing this. Is there something about timing/polyphony in MIDI files that I don't understand that could lead to this behavior?
All modifications of the MIDI files used can be played without issues in external tools like MIDIEditor and FL.