From owner-freebsd-current@FreeBSD.ORG Mon Sep 19 09:55:48 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A336B16A41F; Mon, 19 Sep 2005 09:55:48 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 472AD43D46; Mon, 19 Sep 2005 09:55:48 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j8J9tlfd052423; Mon, 19 Sep 2005 02:55:47 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j8J9tl1x052422; Mon, 19 Sep 2005 02:55:47 -0700 (PDT) (envelope-from jmg) Date: Mon, 19 Sep 2005 02:55:47 -0700 From: John-Mark Gurney To: Emanuel Strobl Message-ID: <20050919095547.GC821@funkthat.com> Mail-Followup-To: Emanuel Strobl , freebsd-current@freebsd.org, freebsd-stable@freebsd.org References: <200509190144.30528@harrymail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509190144.30528@harrymail> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: audio (acdt01) dump broken? (BETA4 (5)) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 09:55:48 -0000 Emanuel Strobl wrote this message on Mon, Sep 19, 2005 at 01:44 +0200: > tonight I wanted to consolidate (for an upcoming trekstor i.beat organix) > my oggs and therefore eval the difference between reencoded > ogg@320vbr->ogg@112 and the original reread wavs(tracks)->ogg@112vbr. > Unfortunately I couldn't grab my CDs anymore. I can remember I had used 'dd > if=/dev/acd0txx of=/tmp/track.xx bs=2352' but this doesn't work anymore. I > can't replay the bits and with oggenc I get: > ERROR: Input file "track15.wav" is not a supported format [...] > What am I missing? That the raw audio data on a cd is raw, and not a wav file... WAV files have a bit of information that contains what the sampling rate is, the channels and the bits per sample: hydrogen,ttyp4,/home/johng,504$file /tmp/quarter.wav /tmp/quarter.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 22254 Hz so, if you want, you can use sox to convert the raw audio data into wav: sox -t cdr rawcddata.cdr somefile.wav -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."