From owner-freebsd-hackers Mon Sep 16 1:53:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75CD037B400 for ; Mon, 16 Sep 2002 01:53:33 -0700 (PDT) Received: from abigail.blackend.org (blackend.org [212.11.50.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29EF043E77 for ; Mon, 16 Sep 2002 01:53:32 -0700 (PDT) (envelope-from marc@blackend.org) Received: from marduk.blackend.org (marduk.blackend.org [192.168.1.202]) by abigail.blackend.org (8.12.3/8.12.3) with ESMTP id g8G8qxUx042217; Mon, 16 Sep 2002 10:52:59 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from marduk.blackend.org (localhost [127.0.0.1]) by marduk.blackend.org (8.12.5/8.12.5) with ESMTP id g8G8t4nZ041425; Mon, 16 Sep 2002 10:55:04 +0200 (CEST) (envelope-from marc@localhost.blackend.org) Received: (from marc@localhost) by marduk.blackend.org (8.12.5/8.12.5/Submit) id g8G8t3bG041424; Mon, 16 Sep 2002 10:55:03 +0200 (CEST) (envelope-from marc) Date: Mon, 16 Sep 2002 10:55:03 +0200 From: Marc Fonvieille To: freebsd-hackers@freebsd.org Cc: Hanspeter Roth Subject: Re: converting cdr/acd0t1 to wav Message-ID: <20020916085503.GE262@marduk.blackend.org> References: <20020916103617.A651@gicco.cablecom.ch> <20020916084226.GC262@marduk.blackend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020916084226.GC262@marduk.blackend.org> User-Agent: Mutt/1.4i X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.6-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 16, 2002 at 10:42:26AM +0200, Marc Fonvieille wrote: > On Mon, Sep 16, 2002 at 10:36:17AM +0200, Hanspeter Roth wrote: x > > > > Hello, > > > > I'm trying to convert /dev/acd0t1 to a wav format file. > > Thus I did > > > > dd if=/dev/acd0t1 of=1.cdr bs=2352 > > sox 1.cdr 1.wav > > > > But when playing 1.wav there is only noise. > > Other wavs from /windows/media sound ok. > > > Have a look in the Handbook to > > "16.3.4 Decoding MP3s" at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html > > there is an example about raw-->wav conversion with SoX. > Err my bad it's a wav-->raw example :)) The syntax is very close for raw-->wav: sox -t raw -r 44100 -s -w -c 2 file.raw file.wav Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message