News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Setting custom soundfonts

Started by Lebeg, May 06, 2024, 10:28:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lebeg

I am using the steam version of simutrans which just updated to 124, which is cool, lot of fixes, but for some reason the change soundfont button is missing from the UI.
If I remember correctly there were some code changes relating to the music backend, maybe it dissapeared then.

I am trying to change it so it sounds just like this.

Changing soundfont_filename in simuconf.tab doesn't seem to be working.
Is this a bug, or am I doing something wrong?
I have a MuseScoreDefault.sf2 in my music folder and use the following line:
soundfont_filename = MuseScoreDefault.sf2
(This is not the same soundfont as in the video I linked, but is similar)

Matthew

Welcome to the International Simutrans Forum, Lebeg! Bug reports like this are always helpful, so thank you.

I am also using the Steam version of Simutrans 124 (Linux, pak128) and I can get to the "Select soundfont" button like this:



And it does work for me.

I hope that helps. If you can't see it there, maybe a screenshot of the Sound Settings window would be helpful for the devs?
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。

Roboron

#2
Sorry about that. The "Select soundfont" button was indeed not available on Windows for Simutrans version 124. The reason is that I could not get it to build with this feature, so I gave up in order to make the release.

Today I have tried again, and this time I got it working with ad dynamically linked build. EDIT: Nevermind, it does not work when I push it to Steam. This needs more investigation.

EDIT 2: Looks like I discovered what is happening. The preloader libraries are getting mixed with Simutrans libraries, and things go wrong. Well, it was in my plans to get rid of the preloader eventually, but this will accelerate this change. I will try to get it done for the next version, and then you will be able to play your soundfonts again (meanwhile, you can also go back to version 123, or try linux ;) )

prissi

In principle, windows midi should also support installable sounds ... but not via simutrans, and not for free.

Lebeg

Thanks  :D

I was actually thinking about putting linux on my laptop for productivity  ;D
Got some extra motivation for it.

Roboron

With the 124.1 Steam update, soundfonts should work again. Although it seems .sf3 soundfonts do not work, but .sf2 soundfonts do.