Timidity

From OdaWiki

TiMidity is a software synthesizer that can load SoundFonts and GUS (Gravis Ultrasound) patches and render midi instruments as "real" ones.

Linux

Timidity may be obtained from your distribution's repository or by building from the source. The standard patches distributed with Timidity are insufficient for the playback of DOOM music, and you must obtain appropriate patches from one of the sources mentioned in "External Links", below.

Windows

Installation

This is a basic installation guide that will show you how to use soundfonts with the timidity driver and thus use it with Odamex

The driver has Timidity++ built in, so you will not need timidity.

Install the Timidity driver

The latest driver can be downloaded from here (the US sourceforge site has an older project, this one has the latest CVS releases), you will need to download the latest CVS (timiditydrv070209_bin.zip was tested and works on Windows XP SP2)

Extract to a location on your hard disk

Follow the instructions in windrv.txt in the zip file or:

Navigate to: Start->Settings->Control Panel->Add Hardware Wizard
Click Next
Click "Yes, I have already connected the hadware."
Click Next
Select "Add a new Hardware device" 
Click Next
Select "Install the hardware that manually select from list[Advanced]" 
Click Next
Select "sound, video and game contollers" 
Click Next
Click "Have Disk ..."
Click "Browse" and find timiditydrv.INF where you extracted it
Click OK
Click "Continue Anyway"
Click Finish.


The driver is now installed.

Configuring the driver

Installing SoundFont

We HIGHLY recommend you get the 8MBGM ENHANCED soundfont for that almost-authentic sound, the size is around 17mb, but is alot smaller and better sounding than using EAWPATS

To install it:

  1. Download and unzip/rar the file to a location
  2. Open timidity.cfg in your windows directory
  3. Comment/delete all lines in the file
  4. Add only a single line, replacing relevant bits like drive, path etc:
     soundfont "drive:\path\soundfont.sf2" 
  5. Save the file and close it

Set the default driver

To use the driver, do the following:

Navigate to: Start->Settings->Control Panel->Sounds and Audio Devices
Click Audio Tab
Select "MIDI music playback" combobox as "Timidity++ Driver"
Click OK

The driver is now the default midi driver, for more information on configuration, read windrv.txt from your driver dir for more info.

Usage

If all goes well, you can run Odamex and the music should play.

Notes

There is a problem with SDL_mixer not changing the volume of the driver, so changing the music volume in Odamex (and even other programs that use SDL_mixer) won't work, there is no known workaround for this.

You can adjust the master/wave volume sliders in the windows volume control, also the sound one inside Odamex to get the best levels.

External Links

TiMidity++ sourceforge site

Japanese TWSYNTH page (latest driver)