Pete,
you pipe the output of mpg123 to sox (SOund eXchanger).

mpg123 -q -s in.mp3 | sox -t raw -c 2 -w -s -r 44100 - -t wav out.wav

Lots o' flags, I know, but the quality is pretty good.
44100 is kind of a "normal" sampling frequency for stereo output.

sox also has a debian package.

-- Chris

On Fri, 20 Apr 2001, Peter Jay Salzman wrote:

> i want to convert an mp3 file to wav format.
> 
> i know mpg123 converts mp3 -> raw pcm data.    so now how can i convert this
> to wav format?
> 
> is there an app that goes directly between mp3 to wav?
> 
> pete
> 
> -- 
> "The following addresses had permanent fatal errors..."      [EMAIL PROTECTED]
>                                -- Mailer Daemon              www.dirac.org/p
> 

Reply via email to