https://bugs.winehq.org/show_bug.cgi?id=51966
Bug ID: 51966 Summary: Autostart fluidsynth Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: es20490446e@gmail.com Distribution: ---
Many distros keep fluidsynth off by default because it consumes quite some memory (126MiB), and usually it conflicts with other user sessions (only one session can run fluidsynth at the same time).
If fluidsynth isn't running Wine could autostart it, so midi music works. Once Wine is closed, if it was started by Wine, Wine could close it.
A good default configuration for launching it is: fluidsynth -si -a alsa -m alsa_seq -C no -g 0.5 -L 1 -r 48000 -R yes -z 1024 -o synth.default-soundfont="[soundfont]"
Where soundfont could be, if present and in this order: - GeneralUser.sf2 (better more realistic audio) - FluidR3_GM.sf2 (more frequent)
Under one of these folders, depending on the distro: /usr/share/soundfonts (fluidsynth default, modern) /usr/share/sounds/sf2 (debian default, vintage)