Independent ALSA and linux audio support site


From the ALSA wiki

Jump to: navigation, search

Using Soundfonts

A soundfont is a set of digital samples of the sounds made by one or more musical instruments (or by anything else) which can be loaded into your soundcard's wavetable memory. A soundfont can be used to make your soundcard make sounds like the sampled musical instruments. This is useful when playing MIDI files.

If you own a Soundblaster soundcard a soundfont (usually 8MBGMSFX.SF2 ) can be loaded into its wavetable memory. The sfxload utility works for ALSA's OSS emulation of soundfont loading. The new asfxload utility works for ALSA's native soundfont loading.

If you don't have a wavetable card, you can still use a software synth like FluidSynth or Timidity.

You can find many free soundfonts on the net. Here are some examples:

For more details about soundfonts, please see the SoundFont page.

When using a soundcard that has no MIDI support through ALSA you can use a combination of FLUIDSYNTH and QSYNTH to make MIDI sounds from for example Rosegarden.

What you need is:

Install all the programs. Compile from source of get distributor binaries, .rpm etc.

Shut down Artsd in KDE or Esd in Gnome, they are (right now) unnecessary sound servers. Start jack daemon in xterm or konsole or what ever you like for a command prompt:

jack -d alsa -d hw:0 -r 44100 -p 2048

Check out different options for jackd by typing "man jackd".

Start qjackctl. It is a graphical interface for using jackd's virtual connections.

Start qsynth, like this:

qsynth path/to/sf2.files

You can check your soundfonts output by starting vkeybd and connecting it to your ALSA card through qjackctl. Click both "Audio" and "Midi" tabs to find your programs aka. ALSA clients and connect them to your soundcards "alsa PCM" output.

For example Terratec Aureon soundcard that has no native MIDI support with ALSA was available for MIDI sequencer Rosegarden this way. There are lots of soundfonts available on the Internet for free download that you can make use of this way.

Retrieved from ""

Category: MIDI