NAME

readcdda - Reads digital audio from a CD.

SYNOPSIS

readcdda [OPTION]...

DESCRIPTION

This is a program to read (or "rip") CD digital audio from a CD and output the PCM data. Typically this is an initial stage in encoding data to MP3 format.

The output data is raw 16 bit 44.1kHz stereo data. This format is directly readable by software like sox and various MP3 encoders, e.g.:

readcdda -Dsg3 -v -F '|sox -r44100 -c2 -tsw - -twav %02d.wav'

Will read a CD and create WAV files in the current directory with names 00.wav..99.wav. Alternatively, you can read and encode directly to MP3 with something like:

readcdda -Dsg3 -v -F '|mp3enc -v -sti -of %02d.mp3 -br 160000 -qual 6'
-D, --dev, --device=DEVICE

SCSI device name or number to use.

-L, --list

Prints a list of all CD devices and their name/number, then exits.

-T, --toc

Prints a list of tracks on the CD, then exits.

-f, --first=TRACK

Selects the first track to read. Defaults to the first track on the CD.

-l, --last=TRACK

Selects the last track to read. Defaults to the same as -f if that was selected (i.e. read just one track) or the last track on the CD if it was not (i.e. read the whole CD.)

-d, --dir, --directory=DIR

Output is saved in this directory, with names of "00".."99".

-s, --stdout

Output is sent to standard output.

-F, --format=FORMAT

Output is sent to a name generated by a printf()-style format, e.g. "%02d".

-v, --verbose

Gives progress reports.

-V, --version

Givess script and module versions and exits.

-h, --help

Prints this text and exits.

AUTHOR

All code and documentation by Peter Corlett <abuse@cabal.org.uk>.

COPYRIGHT

This module is Copyright (c) 2000,2001 Peter Corlett. All rights reserved.

You may distribute this under the terms of the GNU General Public License version 2. Other licensing arrangements should be made with the author.

SUPPORT / WARRANTY

This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.