From owner-freebsd-questions Wed Jan 17 6:39:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wasp.eng.ufl.edu (wasp.eng.ufl.edu [128.227.116.1]) by hub.freebsd.org (Postfix) with ESMTP id 6F99037B401 for ; Wed, 17 Jan 2001 06:39:18 -0800 (PST) Received: from eng.ufl.edu (scanner.engnet.ufl.edu [128.227.152.221]) by wasp.eng.ufl.edu (8.9.3/8.9.3) with ESMTP id JAA17291; Wed, 17 Jan 2001 09:39:06 -0500 (EST) Message-ID: <3A65AE88.FEED7EE2@eng.ufl.edu> Date: Wed, 17 Jan 2001 09:39:04 -0500 From: Bob Johnson X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, eo MIME-Version: 1.0 To: dhagan@colltech.com Cc: questions@freebsd.org Subject: Re: Burning Audio CD's w/ IDE CD-RW drive Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ------------------------------ > > Date: Tue, 16 Jan 2001 17:10:39 -0500 > From: Daniel Hagan > Subject: Burning Audio CD's w/ IDE CD-RW drive > > I have a sony ide cd-rw drive that works fine w/ CD-R data tracks (I've > burned and read several now). But, I need to find out how to: > > 1) Extract an audio track from a cd to a file > There are a few programs in the ports that claim to do this. I use dagrab, e.g. $ mkdir musictracks $ cd musictracks $ dagrab -d /dev/acd1c will leave a file for each track (trackXX.wav) on the cd. > 2) Burn that track onto a cd-r (burncd -f /dev/acd1c audio filename > fixate?) That's right. burncd will accept wildcards, so all of the files generated by dagrab can be burned with something like: $ burncd -f /dev/acd1c -e -s4 audio track*.wav fixate > > or something that will accomplish both (i.e. copy a track directly from > a cd onto a cd-r). I've searched the freebsd site and didn't find > anything useful, so I figured I'd write to the list. I've tried > accessing /dev/acd0c just about every way I can think of to copy data > off an audio cd, but I just get Bad Address back each time (dd, cat, > strings, cp, ...) Reading an audio CD is a mysterious process that seems to involve a lot of trial and error to get the timing right, so it is slow. It seems that trying to copy directly from a CD to a CD-R would present some timing problems. In any case, to read an audio CD you have to use software that knows how to make sense of an audio CD. > > PLEASE COPY ME on any mails. I don't have time to read -questions > anymore, and don't follow the list. If you'll be kind enough to cc: me > on any replies, I'll write a patch for the burncd manpage (which I > didn't think was totally clear) and the handbook outlining what I learn. Adding a "See also: dagrab dd mkisofs" section to the burncd page would probably be useful - that would point you to all of the basic tools you need to copy or build music or data CDs. As for clarifying the rest, I vote for a tutorial on the difference between mode 1, mode 2, and XAmode1 tracks. It's a little difficult to figure out which options to use when you don't understand what they do ;) Then again, since dagrab isn't part of the base system it may be bad form to reference it in the man page for something that is in the base system. > > Thanks, > > Daniel Hagan > - Bob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message