Menu

#2 midi playback through fluidsynth

open-later
None
5
2015-03-05
2004-07-26
No

To play music in Legacy for Linux you will either need Timidity or
hardware MIDI support. I don't like the GUS patches required by
Timidity and my SB32 is since long gone so this patch lets me use
fluidsynth to playback the music. Fluidsynth uses common
soundfonts (SF2) to load samples and then plays the music through
a normal pcm device.

This patch was first mentioned in this forum thread: http://forums.
newdoom.com/showthread.php?t=17794. I've updated the patch to
work with the current versions of Fluidsynth (http://www.fluidsynth.
org/) and Legacy and despite the total lack of interest of the earlier
patch, I thought I should upload the result here.

To apply this patch cleanly you will first have to install the patch
"musserver can't play pwad music" which can be found here: http:
//sourceforge.net/tracker/index.php?
func=detail&aid=997711&group_id=2479&atid=302479

The patch is inactive by default so in order to activate the software
synthesizer you will have to edit Makefile.linux and uncomment two
rows. After that, edit musserver.h and specify which sound device
you want to use for the music and which soundfont to load. More
details can be found in the files.

Before compiling you will of course have to install fluidsynth, but
after that you just have to compile musserver, replace your old
musserver, find a nice 60Mb soundfont and start enjoying the sweet
melodies! Good Luck!

Discussion

  • Robert Högberg

    Robert Högberg - 2004-07-26

    Software MIDI synthesis through Fluidsynth

     
  • Jussi Pakkanen

    Jussi Pakkanen - 2004-08-02

    Logged In: YES
    user_id=916414

    It ir very possible that there won't be any more releases that
    use musserver. The current development version uses SDL Mixer
    to lessen platform dependencies. Maybe SDL Mixer has a
    Fluidsynth backend, at least it would seem like a very sensible
    thing to have.

     
  • Robert Högberg

    Robert Högberg - 2004-08-03

    Logged In: YES
    user_id=1046343

    I know that development is focusing on an SDL version of Legacy and I
    think this is good.

    This patch was intended for those willing to do some hacking to get music
    working. I didn't intend for it to be included in the stable musserver
    package. At least not activated.

     
  • Ville Bergholm

    Ville Bergholm - 2009-11-09
    • assigned_to: nobody --> smite-meister
    • status: open --> open-later