Jump to content

I need help with midi playback in DSDA Doom 0.25.6


Recommended Posts

Hello! I compiled an executable from source code DSDA Doom 0.25.6. It works pretty well, but setting "preferred midi player" is not working properly :(

How to fix that?

 

To demonstrate I am attaching a video of this problem 

 

P.S. Sorry for my bad English :/

Share this post


Link to post

Maybe DSDA Doom doesn't come with any soundfonts? You need a soundfont and then to edit dsda-doom.cfg and add it including full path to snd_soundfont

If you're on Linux this file is at ~/.dsda-doom/dsda-doom.cfg, if you're on Windows I'm not sure but hopefully you can find it, maybe it's in the program directory.

 

Once you do that, Fluidsynth midi playback should work properly.

 

Here's a good soundfont, it's about 50 mb: https://drive.google.com/file/d/1G53wKnIBMONgOVx0gCOWrBlJaXsyaKml/view?usp=sharing

If you want a smaller and/or open-source soundfont you can try this one: https://github.com/arbruijn/TimGM6mb/tree/master

 

BTW Any reason why you chose dsda 0.25.6? The latest version is 0.27.5
 

Edited by plums

Share this post


Link to post

Thank you so much for your answer! Unfortunately, your advice did not help solve the problem :(
I think my problem is how I compiled the executable. I used CMake and Visual Studio. Also I added SDL2 and SDL2 mixer. Maybe I must to add something else to make the music work correctly. But I don't know what files are needed to this.
I am a Windows user :)
I use this version of the DSDA because it has the functions I need that are not in version 0.27.5. 

The only reason why I got into the source code: fix ssg flash glitch and add bright effect for zombieman, when he shoot.

Share this post


Link to post

Sadly I don't know much about compiling software on Windows. Perhaps you need fluidsynth installed or the source for it?

 

https://www.fluidsynth.org/

https://github.com/FluidSynth/fluidsynth

 

The other thing that might work is to set the SDL_SOUNDFONTS environment variable to the full path of your soundfont, and leave the soundfont setting in dsda-doom empty. But this again will need fluidsynth *somewhere* and I don't know if it's included in the SDL2 mixer sources or not.

Share this post


Link to post
8 hours ago, Heister said:

Thank you so much for your answer! Unfortunately, your advice did not help solve the problem :(
I think my problem is how I compiled the executable. I used CMake and Visual Studio. Also I added SDL2 and SDL2 mixer. Maybe I must to add something else to make the music work correctly. But I don't know what files are needed to this.
I am a Windows user :)
I use this version of the DSDA because it has the functions I need that are not in version 0.27.5. 

The only reason why I got into the source code: fix ssg flash glitch and add bright effect for zombieman, when he shoot.

You probably don't have the libraries needed to build it with Fluidsynth support. I haven't tried building on Windows (being primarily a Linux user myself), but there's a guide here that may help: https://github.com/kraflab/dsda-doom/blob/master/docs/guides/building_on_windows.md

 

If Fluidsynth is working, dsda-doom will use the soundfont specified by snd_soundfont in the config file, and if snd_soundfont is blank, then it will read the SNDFONT lump in dsda-doom.wad.

Share this post


Link to post
14 hours ago, Shepardus said:

You probably don't have the libraries needed to build it with Fluidsynth support. I haven't tried building on Windows (being primarily a Linux user myself), but there's a guide here that may help: https://github.com/kraflab/dsda-doom/blob/master/docs/guides/building_on_windows.md

 

If Fluidsynth is working, dsda-doom will use the soundfont specified by snd_soundfont in the config file, and if snd_soundfont is blank, then it will read the SNDFONT lump in dsda-doom.wad.

Thanks for the help! I think this manual will be useful to me.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...