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
No music on Fedora 32 #639
Comments
It appears only MUS-files are affected. When adding a file with pre-recorded music, like doom1mus.wad, music plays just fine. |
This isn't very helpful, but the precise call that generates this is in |
I came back to this some time later, because it still doesn't work for me on Arch (but does on Debian 11, a clue?). Anyway, after stepping through the code on both OSs it would seem that the precise difference is indeed in
For whatever reason this SDL call,
which on Arch incorrectly branches into writing and then loading the MUS data as an mp3 file. On Debian, however, this branch is not taken. I can't find any documentation for |
FWIW, music works fine on Ubuntu too. |
Here is a work-around! Ensure that you have a soundfont installed, and then set the environment variable
|
In case this helps anyone... @tslilc's answer works for me on Arch, but only along with the fluidsynth optional dependency. |
I'll put in my two cents too. A couple of days ago I ran into a similar problem on my macOS computer. The problem was also related to The music in the doom game is stored in MIDI format, and the sound effects are stored in WAV format. SDL2_mixer supports both of these formats:
But playback of MIDI files does not work out of the box (unlike WAV) and requires a special backend. SDL2_mixer supports 3 backends:
Therefore, to work with MIDI files, it is necessary to have at least one of the backends and, in the case of fluidsynth and timidity, perform additional actions. The problem I encountered was that the official release of SDL2_mixer from github does not contain any of these backends:
The solution to the problem was self-build of SDL2_mixer from the source code. I want to note that the compilation time of SD2_mixer and doomretro is almost the same, so no one should have any problems building SDL2_mixer. You can also build SDL2_mixer as a subproject in doomretro. To do this in Let's return to linux and the fluidsynth and timidity libraries. The solution given by @tslilc is correct, but only works with fluidsynth. Here is an excerpt from the SDL2_mixer wiki website on using fluidsynth and timidity:
The last few posts in this thread are dedicated to archlinux. If you use the official
Therefore, it is necessary to use a solution for timidity (get a complete set of GUS
I hope my message will help someone. |
On Fedora Linux 32 the music doesn't play anymore. I don't know at which revision it stopped working. Terminal throws errors:
The text was updated successfully, but these errors were encountered: