Player icon indicating copy to clipboard operation
Player copied to clipboard

MIDI file 00Matrix.mid played incorrect with Fluidsynth

Open BlisterB opened this issue 1 year ago • 2 comments

EasyRPG Continuis Build doesn't seem to use the correct soundfont file :

  • Using gm.sf2 (or scc1t2.sf2) as easyrpg.soundfont file in the game folder
  • The MIDI file 00Matrix.mid isn't played correctly
  • "F1" -> "Audio" -> "MIDI" screen confirms that easyrpg.soundfont file is being played

Image

  • If I delete the file easyrpg.soundfont on 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)

Image

  • Here is a test game using 00Matrix.mid as the Title Screen music:

Project MIDI Issue.zip

BlisterB avatar Jan 19 '25 14:01 BlisterB

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.

Ghabry avatar Jan 19 '25 20:01 Ghabry

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.

fdelapena avatar Feb 01 '25 17:02 fdelapena