Difference between revisions of "Timidity"

From OdaWiki
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
= Windows =
 
= Windows =
 
== Overview ==
 
 
Odamex has no timidity support on windows, however, a driver has been made available and can be used for any windows program that supports midi playback.
 
  
 
== Installation ==
 
== Installation ==
This is a basic installation guide that will show you how to use GUS patches with the timidity driver and thus use it with Odamex
+
This is a basic installation guide that will show you how to use soundfonts with the timidity driver and thus use it with Odamex
 
+
You shouldn't need Timidity++ itself, as the driver should do all the work (this hasn't been tested without it though)
+
 
+
=== GUS patches ===
+
You can download these from various sources on the web, [http://www.google.com Google] is a good start, patches are also available at the bottom of this article.
+
 
+
Install these to a directory such as '''c:\timidity''' (the directory can be configured in '''c:\windows\timidity.cfg''' once the driver has been installed)
+
  
Note: If you're using '''eawpats''', copy the '''timidity.cfg''' file from its directory and replace '''c:\windows\timidity.cfg''' (presuming you have installed timidity previously), modify the lines that contain '''dir''' and replace the path with the path of the '''eawpats''' dir.
+
The driver has Timidity++ built in, so you will not need timidity.
  
=== Timidity driver ===
+
=== Install the Timidity driver ===
 
The latest driver can be downloaded from [https://sourceforge.jp/projects/twsynth here] (the US sourceforge site has an older project, this one has the latest CVS releases), you will need to download the latest CVS ([http://prdownloads.sourceforge.jp/twsynth/23906/timiditydrv070209_bin.zip timiditydrv070209_bin.zip] was tested and works on Windows XP SP2)
 
The latest driver can be downloaded from [https://sourceforge.jp/projects/twsynth here] (the US sourceforge site has an older project, this one has the latest CVS releases), you will need to download the latest CVS ([http://prdownloads.sourceforge.jp/twsynth/23906/timiditydrv070209_bin.zip timiditydrv070209_bin.zip] was tested and works on Windows XP SP2)
  
Line 50: Line 39:
 
The driver is now installed.
 
The driver is now installed.
  
== Usage ==
+
== Configuring the driver ==
 +
 
 +
=== Installing SoundFont ===
 +
We HIGHLY recommend you get the [http://www.bredel.homepage.t-online.de/Soundfonts/Soundfonts-English/soundfonts-english.html 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:
 +
# Download and unzip/rar the file to a location
 +
# Open '''timidity.cfg''' in your windows directory
 +
# Comment/delete all lines in the file
 +
# Add only a single line, replacing relevant bits like drive, path etc:
 +
#: <pre> soundfont "drive:\path\soundfont.sf2" </pre>
 +
# Save the file and close it
 +
 
 +
=== Set the default driver ===
 +
 
 
To use the driver, do the following:
 
To use the driver, do the following:
 
<pre>
 
<pre>
Line 61: Line 64:
 
The driver is now the default midi driver, for more information on configuration, read '''windrv.txt''' from your driver dir for more info.
 
The driver is now the default midi driver, for more information on configuration, read '''windrv.txt''' from your driver dir for more info.
  
If all goes well, you can run Odamex and the sound should come through the driver.
+
=== Usage ===
  
= Notes =
+
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.
 
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.
  
= Resources =
+
You can adjust the master/wave volume sliders in the windows volume control, also the sound one inside Odamex to get the best levels.
 
+
== GUS patches ==
+
You can download these from various sources on the web, [http://www.google.com Google] is a good start, patches are also available at the bottom of this article.
+
  
 
== External Links ==
 
== External Links ==
Line 76: Line 78:
  
 
[https://sourceforge.jp/projects/twsynth/ Japanese TWSYNTH page (latest driver)]
 
[https://sourceforge.jp/projects/twsynth/ Japanese TWSYNTH page (latest driver)]
 
[http://xml.cie.unam.mx/pub/Linux/lmws/eawpats/ eawpats] GUS patches
 

Latest revision as of 08:14, 17 January 2009

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)