On Tuesday 20 February 2001 23:46, Mikkel L. Ellertson opined:
> On Tue, 20 Feb 2001, Stephen Hargrove wrote:
> > I need to find a simple, command line program to convert MP3 files
> > back to .wav files.  Does anyone have any suggestions?
> 
> Well, if no-one else has any ideas, about the only thing I can think of
> is to pipe the output of mpg123 through sox to convert it to a .wav
> file.  You should be able to create a script file to do this.
> 
> Mikkel

I was going to answer this before, was distracted by my 2-year-old, lost 
track and deleted the mail.

Here's a script that I use:

------ CUT HERE ------
#!/bin/bash
# mp32wav
mpg123 -b 10000 -s "$1" | sox -t raw -r 44100 -s -w -c2 - "$2"
------ CUT HERE ------

Very simple, very effective. Requires only sox and mpg123.

-- 
The computer revolution is over. The computers won.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to