Message Boards

Topic: Making MIDI suck less on Linux (howto)  (Read 13294 times)

Ant P.

  • Nobody
Making MIDI suck less on Linux (howto)
« 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).

Offline Dr. Sean

  • Developer
  • Posts: 69
  • G'd up from tha feet up
    • View Profile
    • Odamex - Helping middle-aged men relive their teen years
Re: Making MIDI suck less on Linux (howto)
« Reply #1 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.
Odamex Development Team Member

Offline HyperEye

  • Developer
  • Posts: 13
    • View Profile
Re: Making MIDI suck less on Linux (howto)
« Reply #2 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.

Ant P.

  • Nobody
Re: Making MIDI suck less on Linux (howto)
« Reply #3 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...