From owner-freebsd-questions Mon Sep 9 11:33:54 2002 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 09C7037B400 for ; Mon, 9 Sep 2002 11:33:51 -0700 (PDT) Received: from jazz.ar.yahoo.com (jazz.ar.yahoo.com [200.59.150.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id C807E43E65 for ; Mon, 9 Sep 2002 11:33:49 -0700 (PDT) (envelope-from adrianm@jazz.ar.yahoo.com) Received: from jazz.ar.yahoo.com (localhost.yahoo.com [127.0.0.1]) by jazz.ar.yahoo.com (8.12.3/8.12.3) with ESMTP id g89IYa44002804; Mon, 9 Sep 2002 15:34:37 -0300 (ART) (envelope-from adrianm@jazz.ar.yahoo.com) Received: (from adrianm@localhost) by jazz.ar.yahoo.com (8.12.3/8.12.3/Submit) id g89IYYwj002803; Mon, 9 Sep 2002 15:34:34 -0300 (ART) (envelope-from adrianm) Date: Mon, 9 Sep 2002 15:34:33 -0300 From: Adrian Mugnolo To: Hanspeter Roth Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cdda2wav for acd Message-ID: <20020909153432.C2427@jazz.ar.yahoo.com> References: <20020909120557.A9652@gicco.cablecom.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020909120557.A9652@gicco.cablecom.ch>; from hanspeter_roth@hotmail.com on Mon, Sep 09, 2002 at 12:05:57PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > Is there a tool that can extract tracks of an audio cd-image or that > can read tracks from /dev/acd0t1 and convert them into wav? You don't need cdda2wav with ATAPI drives. As you said, you can read special devices directly with dd(1) -- just make sure you're using the correct block size: dd if=/dev/acd0t1 of=track1.cdr bs=2352 If you want to convert from raw audio to RIFF "wave" format, you can try the sox(1) command from the audio/sox port: sox track1.cdr track1.wav If you want to read the whole disc, you can use the standard cdcontrol(1) to check the ending track: cdcontrol info HTH Regards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message