MIDI file 00Matrix.mid played incorrect with Fluidsynth
EasyRPG Continuis Build doesn't seem to use the correct soundfont file :
- Using
gm.sf2(orscc1t2.sf2) aseasyrpg.soundfontfile in the game folder - The MIDI file
00Matrix.midisn't played correctly - "F1" -> "Audio" -> "MIDI" screen confirms that easyrpg.soundfont file is being played
- If I delete the file
easyrpg.soundfonton Windows, the file is played correctly - With VLC, if I use gm.sf2 as soundfile, the file is played correctly (so the problem doesn't come from the soundfile)
- Here is a test game using
00Matrix.midas the Title Screen music:
Fluidsynth is being used to play the file and it uses the correct soundfont but it sounds different.
Biggest difference is the "ooooooooooooooo" sound in the background. In the Player at 18s it is cut off. In VLC it continues.
Not sure why this happens, I compared our MIDI code with the VLC MIDI code and they look quite similar.
Needs retesting with FluidSynth 2.4.3, released 1 week after this bug report. ChangeLog shows some fixed with voices not terminating when they should or even raising. https://github.com/FluidSynth/fluidsynth/releases/tag/v2.4.3 And the cut-off, if related to drums, it is now reverted to behave as in (likely) VLC. Now it can be set to behave as Microsoft GM/GS synth as a setting.