how would i encode a ulaw wav to pcm wav format using LAME command line?
I don't think LAME can decode µ-law. You can probably use foobar2000 or the windows sound recorder to decode it to PCM, though.
rutra80
May 16 2006, 00:14
You can use
SoX for that.
i used winlame and it worked perfect. but i need a command line version...
lame -m m -r -s 8 --decode sample.wav works but the sample is noisy... although when i do the decoding in winlame the sample is clear.
okay so i have downloaded sox and so far i am not certain how to speciffy that i want to convert from a wav ulaw to a wav pcm... it doesnt have anywhere to specify format other than uw and wav... options which dont work for a wav file which is ulaw format and not ulaw filetype...
actually the option is -s for signed.
the only problem now is the bitrate... how do i control the bitrate w/ sox?
rutra80
May 19 2006, 10:38
-b = 8bit
-w = 16bit
-l = 32bit
-d = 64bit
It's all in the docs.
thats for audio sample size. id like the bitrate of the ouptut file to be 128kbps and i dont see that anywhere any the documentation... although it may be there maybe i am searching for the wrong term?
rutra80
May 19 2006, 16:45
You don't set bitrate for PCM - it's defined by its parameters (sample-rate, bits-per-sample, and number of channels).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.