Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
setting_up_the_fluidr3_gm.sf2_for_timidity [2008/08/03 04:26]
shelagh
setting_up_the_fluidr3_gm.sf2_for_timidity [2009/05/24 14:38]
michael
Line 1: Line 1:
-====== Using FluidR3_GM.sf2 in Timidity++ ====== +====== Using FluidR3_GM.sf2 in TiMidity++ ====== 
- +**by Shelagh Manton** 
-Someone has suggested that timidity++ is not up to it when it comes to being a nice midi synth for use with Rosegarden. I investigated ways to improve its sound by using the FluidR3_GM.sf2 soundfont which can be found in the package repositories of many distributions these days. Timidity is ideal for those who do not want to use jackd to set up softsynths such as fluidsynth or the dssi set of softsynths. If you only work in midi and have no wish to do audio work maybe the following advice might be your best bet for getting quality sound out of Rosegarden.+---- 
 +Someone has suggested that TiMidity++ is not up to it when it comes to being a nice midi synth for use with Rosegarden. I investigated ways to improve its sound by using the FluidR3_GM.sf2 soundfont which can be found in the package repositories of many distributions these days. TiMidity++ is ideal for those who do not want to use ''jackd'' to set up softsynths such as ''fluidsynth'', QSynth, or the DSSI synth plugins. If you only work in MIDI and have no wish to do audio work maybe the following advice might be your best bet for getting quality sound out of Rosegarden.
  
-You will need admin privileges to do the following. On Red Hat based distros you are not always set up to use sudo, you might have to su  to a privileged shell, instead.+You will need admin privileges to do the following. On Red Hat based distros you are not always set up to use sudo, you might have to su to a privileged shell, instead.
 ---- ----
- 
  
 First install the soundfont First install the soundfont
  
-''sudo apt-get install FluidR3_GM.sf2'' \\ +<code>sudo apt-get install fluid-soundfont-gm fluid-soundfont-gs</code> 
-or\\ +or (if you're on a Red Hat based distro) 
-''sudo yum install FluidR3_GM.sf2'' (if you're on a Red Hat based distro)+<code>sudo yum install fluid-soundfont</code>
  
 Other people you're on your own. :-D Other people you're on your own. :-D
  
-You will find it in ''/usr/share/sounds/sf2/''  (Ubuntu, possibly all debian derivs)\\+You will find it in ''/usr/share/sounds/sf2/''  (Ubuntu, possibly all Debian derivatives)\\
 or\\ or\\
-''/usr/share/soundfonts/'' (redhat)+''/usr/share/soundfonts/'' (Red Hat)
  
 Then open /etc/timidity/timidity.cfg Then open /etc/timidity/timidity.cfg
  
-''sudo gedit /etc/timidity/timidity.cfg''+<code>sudo gedit /etc/timidity/timidity.cfg</code>
  
 There will be a line at the bottom of the config file which reads There will be a line at the bottom of the config file which reads
  
-''source freepats.cfg'' +<code>source freepats.cfg</code>
  
 replace that with the following replace that with the following
Line 31: Line 31:
 (Ubuntu) (Ubuntu)
  
-''dir /usr/share/sounds/sf2/''\\ +<code>dir /usr/share/sounds/sf2/ 
-''soundfont FluidR3_GM.sf2''+soundfont FluidR3_GM.sf2</code>
  
 (Red Hat) (Red Hat)
  
-''dir /usr/share/soundfonts/''\\ +<code>dir /usr/share/soundfonts/ 
-''soundfont FluidR3_GM.sf2''+soundfont FluidR3_GM.sf2</code>
  
 save the file... save the file...
Line 43: Line 43:
 And then in a terminal do And then in a terminal do
  
-''sudo /etc/init.d/timidity restart''\\ +<code>sudo /etc/init.d/timidity restart</code> 
-for Ubuntu and friends+for Ubuntu and friends
 + 
 +If this fails to work, or for distros other than Ubuntu, you may need to run TiMidity++ manually.  It has a complicated set of options, but the only option you need to be concerned with is whether to direct its audio through JACK or directly through ALSA. 
 + 
 +If you have JACK running, try using: 
 + 
 +<code>timidity -iA -Oj</code> 
 + 
 +If not, try this instead: 
 + 
 +<code>timidity -iA -Os</code>
  
-For Fedora you might need to install timidity++ and set it up to run as a daemon as it is done in Ubuntu. This is beyond my knowledge. Perhaps you know how to do this? I know that CCRMA has timidity++ in its list of applications.\\ +(In either case, you always want "-iA" which makes TiMidity++ become an ALSA MIDI client, so it can be used with applications like Rosegarden.)
-See\\ +
-http://ccrma.stanford.edu/planetccrma/software/soundapps.html.+
  
 ====== The Second Part: What happens in Rosegarden ====== ====== The Second Part: What happens in Rosegarden ======
Line 55: Line 63:
  
 What you need to do is go to Studio -> Manage Midi Devices\\ What you need to do is go to Studio -> Manage Midi Devices\\
-There will be a series of midi ports as in the following picture.+There will be a series of midi ports as in the following picture.  (Picture depicts the 1.7.x line of Rosegarden.  09.10 and later have a somewhat different device manager.)
  
 {{:managemididevices1.png|}} {{:managemididevices1.png|}}
Line 65: Line 73:
 Click on the ''14:0 Midi Through Port-0 (duplex)'' and change to ''128:0 TiMidity port 0 (write)''. Click on the ''14:0 Midi Through Port-0 (duplex)'' and change to ''128:0 TiMidity port 0 (write)''.
  
-Then play the song and hear the music. You might save this as your default studio for new files.+Then play the song and hear the music. You might save this as your default studio for new files with **Studio => Save Current Document as Default Studio**.
  
-SOM+SOM/dmm
 
 
setting_up_the_fluidr3_gm.sf2_for_timidity.txt · Last modified: 2022/05/06 16:07 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki