From owner-freebsd-questions@FreeBSD.ORG Wed Mar 21 11:07:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B070A1065673 for ; Wed, 21 Mar 2012 11:07:47 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8D16A8FC0A for ; Wed, 21 Mar 2012 11:07:47 +0000 (UTC) Received: from unknown (unknown-ip-614.ccbh.upmc.edu [128.147.110.113]) by www6.pairlite.com (Postfix) with ESMTPA id 825BDB82B; Wed, 21 Mar 2012 07:07:41 -0400 (EDT) Date: Wed, 21 Mar 2012 07:07:40 -0400 From: Rod Person To: Steve Bertrand Message-ID: <20120321070740.000059cb@unknown> In-Reply-To: <4F694698.5080009@gmail.com> References: <4F694698.5080009@gmail.com> X-Mailer: Claws Mail 3.7.10cvs7 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Convert mp3 to audio CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 11:07:47 -0000 On Tue, 20 Mar 2012 23:10:16 -0400 Steve Bertrand 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'