Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Fluidsynth driver has too much reverb #508

Open
man-of-eel opened this issue Apr 11, 2023 · 4 comments
Open

[Bug]: Fluidsynth driver has too much reverb #508

man-of-eel opened this issue Apr 11, 2023 · 4 comments

Comments

@man-of-eel
Copy link

(Using Ubuntu 18.04)
After updating from OpenTTD 12.2 to JGRPP 0.52.1, the music sounds different:
ttdcmp.ogg.zip
The first half is JGRPP, the second half is a program I hacked together with SDL_mixer but it sounds pretty much the same as it used to.

To reproduce, set the relevant lines in openttd.cfg:

musicset = "original_windows"
musicdriver = "fluidsynth:soundfont=/path/to/GM.sf2"

The soundfont used is from here.
Not sure if this is also the case in trunk, I had a look through the fluidsynth files the other day to try and find where the options are defined and I don't think any of the files had changed in ages.

@JGRennison
Copy link
Owner

OpenTTD/OpenTTD#9814, OpenTTD/OpenTTD#8953 or OpenTTD/OpenTTD#10484 may be relevant?

I have not made any changes related to fluidsynth, and never have music enabled except for the odd test. I don't know what it is supposed to sound like or really anything about MIDI to that level of detail.

@man-of-eel
Copy link
Author

I managed to compile latest OpenTTD and latest JGRPP (this repo) and they both don't have the issue. I think it's a packaging issue, maybe you're statically linking an old version of fluidsynth or something for Bionic. I installed a newer version ages ago to fix some issue I forgot and annoyingly I have no idea how I managed to install it. (Not sure why i care so much, it's just a music player..)

@JGRennison
Copy link
Owner

Perhaps try the general Linux build instead of the 18.04 deb? That is probably user newer dependencies.

@auge8472
Copy link
Contributor

I tried to install the deb-package for Ubuntu 22.04 Focal Fossy, that you, @JGRennison, provide with the releases. I get an installation error of a unfulfillable dependency for libfluidsynth2 in a version of 2.0.5 or newer. Ubuntu 22.04 provides only libfluidsynth3 in its own source repositories (see therefore the following screenshot).

screenshot of gDebi package installer with the deb package for JGRPP 0.54.2, showing an error message and Synaptic package manager with the list of available fluidsynth packages

Beside of that Ubuntus' GDebi installation client reports as "Lintian output". I've no clue if it has something to do with the problem.

E: openttd-jgrpp: description-synopsis-is-duplicated line 1
E: openttd-jgrpp: malformed-contact Maintainer //github.com/JGRennison/OpenTTD-patches
E: openttd-jgrpp: no-changelog usr/share/doc/openttd-jgrpp/changelog.gz (native package)
E: openttd-jgrpp: no-copyright-file
E: openttd-jgrpp: unstripped-binary-or-object usr/games/openttd

Lintian finished with exit status 0

So there really seems to be an issue with the build process of the packages. The generic Linux-build works beside the fact of no sound (#552, OpenTTD/OpenTTD#11048).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants