Re: Recording Fluidsynth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux