O'Reilly logo

Linux in a Nutshell, Fourth Edition by Aaron Weber, Stephen Figgins, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

cdda2wav

Synopsis

                  cdda2wav [options] [output.wav]

Convert Compact Disc Digital Audio (CDDA) to the WAV format. This process is often called “ripping” a CD-ROM, and is generally performed before using an encoder to convert the file to a compressed music format such as OGG or MP3. By default, cdda2wav reads data from the /dev/cdrom device and outputs one WAV file per track.

Options

Some of the following options use sectors as a unit of measurement. Each sector of data on a CD represents approximately 1/75 second of play time.

-D, --device devicename

Specify the device. The device must work with the -i (--interface) settings.

-A , --auxdevice drivename

Specify a different drive for ioctl purposes.

-I, --interface ifname

Specify the type of interface. For Linux systems, the most appropriate value is usually cooked_ioctl.

-s, --stereo

Record in stereo. Use -m (--mono) to record in mono.

-x, --max

Set recording quality (and amount of hard disk usage) to maximum.

-b, --bits-per-sample n

Set the quality of samples to n bits per sample per channel. Possible values are 8, 12, and 16.

-r, --rate n

Set the sample rate in samples per second. To get a list of possible values, use the -R option.

-R, --dump-rates

Output a list of possible sample rates and dividers. This option is typically used alone.

-P, --set-overlap n

Use n sectors of overlap for jitter correction.

-n, --sectors-per-request n

Read n sectors in each request.

-t, --track tracknumber

Set start track and, optionally, end track. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required