SpaceCadetPinball icon indicating copy to clipboard operation
SpaceCadetPinball copied to clipboard

Audio not working.

Open 3laws opened this issue 2 years ago • 2 comments

Built successfully on Fedora 37.

I did read #59, did not see the same error I'm having.

I initially tried export SDL_SOUNDFONT=/path/to/your/soundfont as indicated in BUILD.md with a custom soundfont but got:

Log
Loading game from: /home/3laws/.local/share/SpaceCadetPinball/PINBALL.DAT
SDL Error: Couldn't open /etc/timidity++.cfg

Using fluidsynth now I get:

Log
Using SDL renderer: opengl
Loading game from: /home/3laws/.local/share/SpaceCadetPinball/PINBALL.DAT
SDL Error: Couldn't open /usr/share/soundfonts/fluid-soundfont-lite-patches/FluidR3_GM-Standard/Splash

3laws avatar Nov 22 '22 00:11 3laws

I this reply, I am assuming that audio not working == midi music is not working, wav sounds are working.

SDL mixer API does not offer midi backend configuration. I believe that I am using said SDL API correctly. That leaves SDL->system midi interaction as the most likely cause of your issues.

Unfortunately, I am not familiar with midi on Linux, so I can’t help you much here. For me, music worked on all distros that I tried, out of the box without any exports or custom soundfonts. This message “SDL Error: Couldn't open timidity.cfg” was always there in my tests, even on Windows. I assumed it to be a quirk of SDL mixer.

k4zmu2a avatar Nov 22 '22 06:11 k4zmu2a