Jump to content

Custom soundfont for Crispy on Linux


Kromkan

Recommended Posts

The music sounds really bad on Crispy Doom on Debian 10, so I would like to replace the font with this but I'm having trouble configuring Crispy to use it. Is it possible? On Prboom+ it was just a matter of providing a path to .sf2 file in its config file.

Share this post


Link to post

From SDL2_Mixer's own README file:

 

To play MIDI files using FluidSynth, you'll need to set the SDL_SOUNDFONTS

environment variable to a Sound Font 2 (.sf2) file containing the musical

instruments you want to use for MIDI playback.

Share this post


Link to post

I tried "export SDL_SOUNDFONTS=/path/to/sf2" just before launching Crispy but it doesn't work.

Edited by Kromkan

Share this post


Link to post
                            Crispy Doom 5.4
Z_Init: Init zone memory allocation daemon. 
zone memory: 0x7f8e1e73a010, 2000000 allocated for zone
Using /home/mark/.local/share/crispy-doom/ for configuration and saves
V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
saving config in /home/mark/.local/share/crispy-doom/default.cfg
W_Init: Init WADfiles.
 adding doom.wad
  loaded 0 DEHACKED lumps from PWAD files.
===========================================================================
                           The Ultimate DOOM
===========================================================================
 Crispy Doom is free software, covered by the GNU General Public
 License.  There is NO warranty; not even for MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE. You are welcome to change and distribute
 copies under certain conditions. See the source for more information.
===========================================================================
I_Init: Setting up machine state.
Failed to get I/O port permissions for 0x388: Operation not permitted
	You may need to run the program as root in order
	to acquire I/O port permissions for OPL MIDI playback.
OPL_Init: Using driver 'SDL'.
I_InitSound: SDL audio driver is pulseaudio
NET_Init: Init network subsystem.
M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon - [...........................]
P_Init: Init Playloop state.
S_Init: Setting up sound.
I_SDL_PrecacheSounds: Precaching all sound effects......................
D_CheckNetGame: Checking network game status.
startskill 2  deathmatch: 0  startmap: 1  startepisode: 1
player 1 of 1 (1 nodes)
Emulating the behavior of the 'Ultimate Doom' executable.
HU_Init: Setting up heads up display.
ST_Init: Init status bar.

Output from crispy-doom.

Sorry, you ninja'd me before I figured you mean Crispy's output. I can't respond further because I reached post limit per day.

Edited by Kromkan

Share this post


Link to post

Nope, I meant if Crispy (or, better, libfluidsynth via sdl_mixer) does print anything about soundfonts on the command line. 

Share this post


Link to post

Make sure to set your music backend to Midi/MP3/....

Make sure the path to your sf2 file contains no spaces. 

 

Hm, anything else? 

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...