From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 13:55:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 001BE16A4CF for ; Thu, 9 Sep 2004 13:55:57 +0000 (GMT) Received: from wildbean.clapper.org (wildbean.clapper.org [216.158.26.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54A9F43D1D for ; Thu, 9 Sep 2004 13:55:57 +0000 (GMT) (envelope-from bmc@clapper.org) Received: from condor.inside.clapper.org (phantom@condor.inside.clapper.org [172.16.87.5]) by wildbean.clapper.org (8.13.1/8.13.1) with ESMTP id i89Dtu2f064680; Thu, 9 Sep 2004 09:55:56 -0400 (EDT) Received: from z.inside.clapper.org (z.inside.clapper.org [172.16.87.2]) i89DttAR005968; Thu, 9 Sep 2004 09:55:55 -0400 (EDT) Message-Id: <200409091355.i89DttAR005968@condor.inside.clapper.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 9 Sep 2004 09:55:55 -0400 From: brian-freebsd-004@clapper.org To: Miles Keaton In-Reply-To: <59b2d39b04090801411c5af974@mail.gmail.com> References: <200409072225.02425.brianfinniff@unixforge.org> <59b2d39b04090801411c5af974@mail.gmail.com> X-Mailer: VM 7.17 under Emacs 21.3.1 X-Face: /perrud9r1.|7j.*=/6)a%vZ$^sBn!P[?+}vWBxd1ps{4hd2ZOw8]u&t';}(kj=x; JpdSF7 1b<*T{.38]wnWl]j/ULRB*49qdsET_/)-siUd7A_n- List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 13:55:58 -0000 On 8 September, 2004, at 01:41 (-0700) Miles Keaton wrote: > On Tue, 7 Sep 2004 22:25:02 -0500, Brian Finniff > wrote: > > Is it possible to burn a CD from an .MP3 file? If so, how would I do that? > > > You need to install sox: > cd /usr/ports/audio/sox ; make install clean > > Then I wrote this little PHP script that seems to work well: [ snip ] Seems overly complicated (but, hey, if it works, great). This works, too. lame --decode track1.mp3 track1.wav Do that for every track you want to burn to a CD. You'll end up with a .wav file for each track. Then (assuming you're using an ATAPI CD-RW), burn the CD like this: burncd -s -f /dev/acd0c audio *.wav fixate I've used this approach several times to create "normal" CDs from MP3s. "lame" is in the ports collection: /usr/ports/audio/lame -Brian Brian Clapper, http://www.clapper.org/bmc/ There is no satisfaction in hanging a man who does not object to it. -- G. B. Shaw