Re: [linux-audio-user] Recording Fluidsynth

From: Nicolai Lissner <nlissne@email-addr-hidden>
Date: Sun Dec 03 2006 - 17:32:15 EET

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 :)
Nicolai
Received on Mon Dec 4 00:15:18 2006

This archive was generated by hypermail 2.1.8 : Mon Dec 04 2006 - 00:15:18 EET