[linux-audio-user] Recording Fluidsynth

Nicolai Lissner nlissne at linux01.gwdg.de
Sun Dec 3 10:32:15 EST 2006

On Sun, Dec 03, 2006 at 11:48:04 -0300, luis jure wrote:
> i haven't found an option for fluidsynth that writes directly to a
> file.

It's a little bit hidden, but it exists, try:

fluidsynth -i -a file <soundfount> <midifile>

you can optionally specify an output-filename with -o audio.file.name=name.raw

The output of fluidsynth is raw-data - so if you need .wav, use sox to
convert the raw data to wave - for default fluidsynth output this would look
like this:

sox -r 44100 -w -c 2 -s fluidsynth.raw fluidsynth.wav

Enjoy :)

More information about the Linux-audio-user mailing list