[Top][All Lists]

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

Re: [fluid-dev] Converting .raw files using sox

From: Peter Hanappe
Subject: Re: [fluid-dev] Converting .raw files using sox
Date: Mon, 05 Apr 2004 12:52:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Josh Green wrote:
On Sun, 2004-04-04 at 01:03, Ebrahim Mayat wrote:


I recently tried the audio file driver and I was able to produce a file "fluidsynth.raw". In order to convert it to a readable sound file format, one needs to enter the sampling rate, data size and encoding used for the raw file. The sampling rate I would presume is 44100 so I could enter the option "-r 44100". I would like to know if the data size is 8- or 16-bit and what form of encoding is used to create these raw files: u-law, ADPCM or signed linear?

Thanks in advance.

I would imagine it would be 16 bit stereo signed linear audio. You could
always test it with the sox "play" command:

play -c 2 -f s -r 44100 -s w -t raw fluid_output.raw

        Josh Green

I convert it to a .wav file with sox as follows:

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]