Odamex Message Boards

Community Discussion => Technical Support => Topic started by: Ant P. on May 28, 2012, 06:17:42

Title: Making MIDI suck less on Linux (howto)
Post by: Ant P. on May 28, 2012, 06:17:42
It turns out SDL added a built in fluidsynth backend about a year ago, so now you can dump that flat eawpats sound for real soundfonts! Assuming your libsdl_mixer is new enough you can just use a line like this:

Code: [Select]
export SDL_SOUNDFONTS="Fluid-R3.sf2:/path/to/fallback.sf2"; odalaunch
Yep, that's all there is to it. You probably want to try a few different soundfonts since they don't always work perfect (weird instrument mismatches, clipping at high volume).
Title: Re: Making MIDI suck less on Linux (howto)
Post by: Dr. Sean on May 28, 2012, 23:30:34
That's good info!  Timidity's default patches are pretty much a crime against nature and are part of the reason I don't listen to music while playing.
Title: Re: Making MIDI suck less on Linux (howto)
Post by: HyperEye on June 07, 2012, 00:38:11
The new portmidi music system implemented in Odamex can also use the fluidsynth backend as well as your hardware if you have a sound card that supports it. In my case I am able to use my Audigy4 card directly through portmidi.
Title: Re: Making MIDI suck less on Linux (howto)
Post by: Ant P. on June 08, 2012, 17:34:28
Oh, turns out I don't have portmidi installed at all which would explain the lack of options in that menu. Using that sounds like a better idea...