Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: HOWTO: Better MIDI with TiMIDIty and Fluid R3

  1. #1
    Join Date
    Jan 2007
    Location
    Beijing, China
    Beans
    61

    HOWTO: Better MIDI with TiMIDIty and Fluid R3

    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.
    Attached Files Attached Files
    Last edited by D--; April 24th, 2007 at 08:20 AM.

  2. #2
    Join Date
    Jun 2006
    Beans
    123
    Distro
    Kubuntu

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    Hi.
    It would be good to mirror Linux version of sfArk. The official site is not reliable and other mirrors provide only Win32 executables.
    Last edited by muxecoid; April 6th, 2007 at 07:24 PM. Reason: More info
    Ubuntu Linux install+configuration+software installation: 3 hoours.
    WindowsXP install+configuration+software installation: 5 hours

  3. #3
    Join Date
    Jul 2005
    Location
    Goroka, Papua New Guinea
    Beans
    124
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    How do you add a new service? When I click on services, it only allows me to start, stop and set properties for already defined services.

  4. #4
    Join Date
    Jan 2007
    Location
    Beijing, China
    Beans
    61

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    It's in the first pane. You might need to right click to do it. You'll need to make a name for it, and also a command.

  5. #5
    Join Date
    Aug 2006
    Location
    Cebu City, Phil
    Beans
    118
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    sfARK for windows works fine under wine.

    Cheers!!!


    GaryBrlow
    Linux User #435593 | Xubuntu User #9638

  6. #6
    Join Date
    Aug 2006
    Location
    Cebu City, Phil
    Beans
    118
    Distro
    Xubuntu 12.04 Precise Pangolin

    Talking Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    D--,

    All config files for FluidR3 and others are found here http://timidity.s11.xrea.com/index.en.html. The site is called Timidity++ experimental and it has a new GUI for the windows version. There is also somebody who made a TCL-TK gui for timidity and says that he overhauled it and made a better gui. I can't test this one since am not sure how to compile his provided source code. If you can make heads or tails on compiling this one I'd be interested to know. The code is found here http://tkgames.sourceforge.net/, perhaps he does provide a better GUI than the default ones that come with timidity.

    Cheers!!!

    GaryBrlow
    Linux User #435593 | Xubuntu User #9638

  7. #7
    Join Date
    Jan 2007
    Location
    Beijing, China
    Beans
    61

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    I've noticed my machine is running TiMIDIty at boot. Not sure if this is normal, but if it is, you can dump that line about adding the Gnome service.

    Thanks. I'll amend the first post to point to where you can get his Fluid R3 stuff. Not sure if he's updated it at all since I downloaded it years back.

    By the way, if you run across any other soundfonts config files for TiMIDIty, those can easily be used too.

  8. #8
    Join Date
    Dec 2006
    Location
    Buenos Aires, Argentina
    Beans
    102
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    How do you add a new service?
    Last edited by sebas.rhcp; April 24th, 2007 at 05:36 PM.
    "I'm a little pea, I love sky and the trees..." Powered by Kubuntu

  9. #9
    Join Date
    Jan 2007
    Location
    Beijing, China
    Beans
    61

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    I don't have Ubuntu anymore (only Xubuntu), but I remember it is the Settings menu, then either the user controls or Admin ones has an option that says "Services". Pick that, then right click in the list to add a new one. You need to give it a name and command line.

  10. #10
    Join Date
    Feb 2007
    Beans
    67

    Re: HOWTO: Better MIDI with TiMIDIty and Fluid R3

    I followed your guide, and finally have midi working - at least I can play midi files now - so that means it's working, right? I have a Sound Blaster Live 128, where the midi output is not working with linux.

    Anyway, I am trying to get sound output with a program called Finale 2006. It is a music notation program. I don't like the linux ones that I have tried. The program runs under Wine - but I cannot get any sound out of it. Is there any way to get a program running under wine to use Timidity for midi output?

    Thanks,
    Ziffnabb
    Ziffnabb
    Ubuntu User 12603
    Using Heron 8.04

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •