diablodiab / scummvm

ScummVM main repository
https://www.scummvm.org
GNU General Public License v2.0
6 stars 0 forks source link

Music distorted when using FluidSynth + sound font #1

Open mrmatteastwood opened 3 years ago

mrmatteastwood commented 3 years ago

Steps to Reproduce:

  1. Get a copy of the FatBoy soundfont (https://fatboy.site) or the Roland SC-55 soundfont (I think this one: https://archive.org/details/SC55EmperorGrieferus)
  2. Place in scummvm/extras directory.
  3. Load and run ScummVM core to get to core's own main menu.
  4. Add a game that supports General MIDI, like Sam & Max.
  5. In game's options, go to "MIDI" tab, select GM Device "FluidSynth" and soundfont you just downloaded.
  6. Run game

Expected Results: The music should sound fine.

Current Results: The music sounds very loud, heavily overdriven and distorted.

Notes: On Windows, this issue can be mitigated by using the "Microsoft GS Wavetable Synth" GM Device. No such device exists on Linux, though.

diablodiab commented 3 years ago

I'm not currently able to test this in Linux, but I have tried this out on Windows and I'm not getting distorted music when using Fluidsynth and that soundfont. Are you experiencing this also on Windows when using Fluidsynth or only on Linux?

mrmatteastwood commented 2 years ago

Oh man, I'm sorry for never answering. The issue occurred in Windows and Linux, yes. Experienced it in Sam & Max Hit the Road.

Found a solution (or workaround, I guess). This issue stops occurring when one lowers the music volume quite a bit. I went from 256 (full volume) to 30 and now the music is fine. For well-balanced volume levels, the other volume sliders need to stay at 256.