TuxGuitar with Better Sound in Ubuntu

Category: 

TuxGuitar is amazing, and its open source! However, in Ubuntu the default soundbank doesn't sound as good as what is available out there. Let's make it sound better with more realistic sound (a.k.a. Real Sound Engine)...

In a terminal window, use these two commands to install the Fluid Soundfonts:

sudo apt-get install fluid-soundfont-gm
sudo apt-get install fluid-soundfont-gs

If these terminal commands don't work, then you can use the Synaptic Package Manager to install them.

Next, we need to open the timidity config file (use 'ubuntu software center' to install 'Timidity++ Midi sequencer' if you haven't already):

sudo vim /etc/timidity/timidity.cfg

Comment out this line by placing a # at the front of the line, like so:

#source /etc/timidity/freepats.cfg

Then uncomment (or add this new line) to the timidity config file:

source /etc/timidity/fluidr3_gm.cfg

Save the changes to the config file, then restart timidity with this terminal command:

sudo /etc/init.d/timidity restart

Next up, let's setup the TuxGuitar Sound...

  1. Open TuxGuitar
  2. Go to "Tools -> Settings -> Sounds"
  3. Select "TuxGuitar Sequencer" for the "MIDI Sequencer"
  4. Select "TiMidity port 0 [128:0]" for the "MIDI Port"
  5. Click "OK"
  6. Click "Yes" to apply the changes now

With TuxGuitar still open, let's setup the new sound font to be used...

  1. Go to "Tools -> Plugins"
  2. Highlight "Java Sound Api plugin"
  3. Click "Configure"
  4. Select "Use custom soundbank"
  5. Click the Folder icon to locate the .sf2 file (e.g. /usr/share/sounds/sf2/FluidR3_GM.sf2)
  6. Click "OK"
  7. Restart TuxGuitar
  8. Rock and Roll!

If all goes well, the sound will be considerably better. If not, you may throw your instrument and/or keyboard against the wall.