Skip to Content
MP3: The Definitive Guide
book

MP3: The Definitive Guide

by Scot Hacker
March 2000
Intermediate to advanced
400 pages
12h 59m
English
O'Reilly Media, Inc.
Content preview from MP3: The Definitive Guide

General Ripping Principles

Before you can encode a single bit, you’ve got to get the music you intend to compress into your computer. This may be accomplished by piping the signal directly into your machine through your sound card’s Line In jack (either from a mixing board or from home stereo components) or by extracting tracks from compact discs by way of your machine’s CD-ROM drive in a process known as “ripping.”

Ripping from Compact Discs

When you insert an audio CD into your machine’s CD tray, then try to view its contents through your file manager (such as Explorer), you’ll notice that all you see is a collection of 1 KB tracks labeled “Track1.CDA,” “Track2.CDA,” and so on. Drag one of these tracks to another location, and you’ll find that you haven’t copied that track’s audio data to your system at all. This is because CDA (Compact Disc Audio) tracks aren’t actually audio tracks—they’re just “handles” that tell the operating system where on the CD to find the actual audio bits. Technically speaking, what you see when you view a folder full of CDA files is the CD’s “table of contents,” which tells the CD player at which byte offsets to find corresponding PCM data on the disk. By default, most operating system’s file managers will only give you access to CDA handles and not to actual audio data, so you need to find a way around the situation if you want to encode those tracks.

You could take the long, cumbersome route and play the audio CDs through your machine’s CD player ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Spatial Audio Processing: MPEG Surround and Other Applications

Spatial Audio Processing: MPEG Surround and Other Applications

Jeroen Breebaart, Christof Faller
How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian
Wicked Cool Shell Scripts, 2nd Edition

Wicked Cool Shell Scripts, 2nd Edition

Dave Taylor, Brandon Perry

Publisher Resources

ISBN: 1565926617Catalog PageErrata