[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: OT: MP3 to Wav?
- From: A Brady <kcsmart kc rr com>
- To: redhat-list redhat com
- Subject: Re: OT: MP3 to Wav?
- Date: Wed, 21 Feb 2001 00:21:46 -0600
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]