Re: audio (acdt01) dump broken? (BETA4 (5))

From: Oliver Fromme <olli_at_lurza.secnetix.de>
Date: Mon, 19 Sep 2005 14:29:27 +0200 (CEST)
Emanuel Strobl <Emanuel.strobl_at_gmx.net> wrote:
 > Ben Kaduk wrote:
 > > I also checked the handbook for copying cd's -- you are correct that
 > > 2352 is the "magic" blocksize -- I used 64k when ripping an entire
 > > (data) cd to copy it.

It's not "magic", it's simply the "Red Book" sector size of
a CD.  (The sample rate is 44.1 khz, so you have 176400
bytes per second [44100 * 4].  A single-speed drive reads
75 sectors per second, so you need 176400 / 75 = 2352 bytes
per sector.  That's where the number comes from.)

 > Hmm, AFAIK WAV _is_ PCM, both don't have any headers. But I'm out of=20
 > business for details for more than 10 years, so I may be wrong.

No, WAV is a format invented by Microsoft which contains a
header (usually 44 bytes, but it can vary).  "Raw PCM"
doesn't have a header (when handling CD audio data, it's
usually 2-channel signed 16 bits little-endian linear data).

You can use sox for conversion.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"C is quirky, flawed, and an enormous success."
        -- Dennis M. Ritchie.
Received on Mon Sep 19 2005 - 10:29:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC