Peter Bartjens skrev:
Your suggestion that the midi file might have something to do with it led me to inspect the raw audio output by FS in Audacity. Now, I don't know squat about midi or synthesis but what does meet my eye is that the half rest that ends the tune isn't rendered and the last note is does indeed
to be cut off before it has become fully to rest. (originally I
included 2 png screen dumps to illustrate this. Unfortunately that made
the body of my mail exceed 40Kb, htting the moderation wall. So on this
second attempt I did not include them.)
I also used exmid to inspect the midi file (clueless disclaimer inserted here). It looks like an event signifying the end of the tracks immediately follows the final note off event. Might this have something to do with it? (cut-off-midi.xml)
It seems like the last "half rest" is not included in the midi file.
FluidSynth chops the playback/rendering at the last midi event. The best
workaround, in wait for a fix for part 1 of ticket #24, would be to
insert another event (e g change volume or something else that won't
affect the sound) a bit after the last note-off event.
fluid-dev mailing list