Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2012 07:07:40 -0400
From:      Rod Person <rodperson@rodperson.com>
To:        Steve Bertrand <steve.bertrand@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Convert mp3 to audio CD
Message-ID:  <20120321070740.000059cb@unknown>
In-Reply-To: <4F694698.5080009@gmail.com>
References:  <4F694698.5080009@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Mar 2012 23:10:16 -0400
Steve Bertrand <steve.bertrand@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@rodperson.com

'Silence is a fence around wisdom'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120321070740.000059cb>