The system I tested it on was 32-bit Ubuntu Feisty 7.04.
The guide is provided at users' own risk. I will try to provide support and answer questions in the thread, but if you somehow type something wrong and send your OS spiraling into /dev/null, don't blame me.
Timidity is a great little software MIDI synth which can use nearly anything you throw at it to generate blips and beeps. By default, it comes with the “freepats” patch collection. Unfortunately, the quality of freepats is not terribly good, and it is missing many instruments.
If you use RoseGarden or another program to skim through your MIDIs and print sheet music, or just track your own stuff without a hardware synth, freepats is not up to snuff.
Enter Fluid R3, one of the biggest, bulkiest, free (but not in the GNU sense) sound archives out there.
In this HowTo, I'll demonstrate how you can get Fluid R3 working in your Ubuntu with TiMIDIty, which is available in the Ubuntu repo.
First, you need to download Fluid R3. It is available from the HammerSound Soundfont Library (direct link).
The zip is a hefty 68.5MB and will take some time to download. While you are getting it, go download sfArk, which is needed to uncompress the soundfont. There is a Linux version available at the sfArk website which works fine in Ubuntu.
Warning: it has some strange problem where “tar zxpvf” won't recognize it. So you need to unpack in two steps.
Lastly, grab my attached archive in this thread: TiMIDIty-FluidR3-ubuntu.tar.gz. It contains all the sample scaling for the instruments included in the soundfont. If you know who created the file, please inform me. I've been using this TiMIDIty setup on Windows for several years, and have lost the website I found the Fluid R3 definition at. Edit:Garybrlow pointed out it is from TiMidity++ experimental.
Now that you have the the files, open a terminal and punch in these commands:
Code:
$ unzip FluidR3122501.zip
$ gunzip sfarkxtc_lx86.tar.gz
$ tar xvf sfarkxtc_lx86.tar
$ ./sfarkxtc FluidR3\ GM.sfArk
$ tar zxpvf TiMIDIty-FluidR3-ubuntu.tar.gz
$ mv FluidR3\ GM.SF2 timidity/sf2/
# apt-get install timidity
# mv timidity /usr/local/
# mousepad /etc/timidity/timidity.cfg
In timidity.cfg, comment out the last line by adding a pound symbol (like: #source) and add this line:
Code:
source /usr/local/timidity/timidity_fluid3.cfg
Congrats. TiMIDIty is now installed and set up to use the Fluid R3 soundfont. If you would like to use TiMIDIty as your default synth to play MIDI files, you will need to install a service to run it whenever gdm launches.
You can do this using the GNOME Services menu in Control Panel, clicking add, and using this command line:
Code:
timidity -iA -B2,8 -Os1l -s 44100
Just make sure your MIDI software is pointing to device zero and you should get some groovy, TiMIDIty synthed tunes.
This tutorial will also get working MIDI on a machine where the hardware MIDI device is not supported by the Linux kernel.
Bookmarks