I haven't made a detailed analysis, but it seems that one of the
tracks in that MIDI file you provided specifies an incorrect byte
length. Fluidsynth recognizes this "buffer overflow" and cancels
parsing the file. Here's a more verbose console output, which is
currently only visible in debug builds, unfortunately:

fluidsynth: debug: \src\midi\fluid_midi.c: 1900: Loading midifile test.mid
fluidsynth: debug: File load: Allocating 8724 bytes
fluidsynth: debug: Division=480
fluidsynth: debug: tempo=500000, tick time=1.041667 msec, cur time=0
msec, cur tick=0
fluidsynth: debug: signature=4/4, metronome=24, 32nd-notes=8
fluidsynth: debug: \src\midi\fluid_midi.c: 747: alloc metadata, len = 813
fluidsynth: debug: \src\midi\fluid_midi.c: 941: free metadata
track overrun: 1696 > 1695
fluidsynth: debug: Could not read the requested number of bytes


Tom

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to