Convert mp3 to audio CD

Rod Person rodperson at rodperson.com
Wed Mar 21 11:07:47 UTC 2012


On Tue, 20 Mar 2012 23:10:16 -0400
Steve Bertrand <steve.bertrand at gmail.com> wrote:

> I know this is a backwards request, as I haven't had to go from mp3
> to audio CD format in at least 10 years, but I do now.
> 
> What is available to do so?
> 

Basically the same as other, but just using lame to convert a directory
full of mp3s


#!/bin/sh

for a in *
do
  OUTF=`echo "$a" | sed s/\.mp3/.wav/g`
  lame --decode -q 0 "$a" "$OUTF"
done



-- 

Rod Person  http://www.rodperson.com  rodperson at rodperson.com

'Silence is a fence around wisdom'


More information about the freebsd-questions mailing list