sftools
sftools copied to clipboard
sf3 created with sfconvert plays garbage notes in MuseScore
I've converted an sf2 sound font I'm using to sf3 using sfconvert. Now I get extra notes played when using those fonts in either MuseScore or patched fluidsynth.
I discovered this when testing Fabian Greffath's patch to fluidsynth to support SF3. Now fluidsynth plays the same as MuseScore. I'm not sure if the issue is with the player or the conversion. However the FluidR3Mono_GM.sf3 included with MuseScore plays fine.
Github wouldn't let me attach the files here, so I've posted them here:
http://moffatt.id.au/~hamish/sfconvert/bach.mid - my test file http://moffatt.id.au/~hamish/sfconvert/rs_piano.sf2 - the original font http://moffatt.id.au/~hamish/sfconvert/rs_piano.sf3 - the font converted with sfconvert -z
It may be worth mentioning that the stray notes disappear if one forcefully sets both loopstart and loopend values to 0 for each sample in the FluidSynth patch. Though this doesn't appear to be "the right thing" to me.
Would be interesting to know the cause, for documentation in the CAVEATS section in the manual page I just submitted, if not outright fixing…