[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] converting a directory of mp3's to wav's
- Subject: [ale] converting a directory of mp3's to wav's
- From: cfowler at outpostsentinel.com (cfowler)
- Date: 09 Jan 2003 14:49:45 -0500
for i in *.mp3
do
mpg123 -s $i | sox -t raw -r 44100 -s -w -c 2 - `basename $i .mp3`.wav
done
On Thu, 2003-01-09 at 14:40, Jason Vinson wrote:
> Hi folks,
>
> Can anyone help me with a quick command to decode all mp3's in a
> directory to wav's? Currently I use this:
>
> mpg123 -s blah.mp3 | sox -t raw -r 44100 -s -w -c 2 - blah.wav
>
> but I am doing it for individual files (in this case, blah.mp3). Can
> someone loop me?
>
> TIA,
> Jason
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale