Skip to Main Content
Unix in a Nutshell, 4th Edition
book

Unix in a Nutshell, 4th Edition

by Arnold Robbins
October 2005
Intermediate to advanced content levelIntermediate to advanced
908 pages
46h 42m
English
O'Reilly Media, Inc.
Content preview from Unix in a Nutshell, 4th Edition

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.

-adivider, --dividerdivider

Set rate to 44,100 Hz/divider. To get a list of possible values, use the -R option.

-Adrivename, --auxdevicedrivename

Specify a different drive for ioctl purposes.

-bn, --bits-per-samplen

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

-B, --bulk, --alltracks

Copy each track into its own file.

-cchannels, --channelschannels

Set recording channels. Use 1 for mono, 2 for stereo, or s for stereo with both channels stopped.

-Cendianess, --cdrom-endianessendianess

Set the endianess of the input samples to endianess. Possible values are little, big, or guess.

-damount, --durationamount

Set to a number followed by f for frames (sectors) or s for seconds. Set time to zero to record an entire track. For example, to copy two minutes, use 120s.

-Ddevicename, --devicedevicename, dev=devicename

Specify the device. The device must be able to work with the -I (--interface) setting.

-e, --echo

Copy audio data to a sound ...

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.
Start your free trial

You might also like

Learning the Unix Operating System, 5th Edition

Learning the Unix Operating System, 5th Edition

John Strang, Grace Todino, Jerry Peek
UNIX and Linux System Administration Handbook, 5th Edition

UNIX and Linux System Administration Handbook, 5th Edition

Trent R. Hein, Evi Nemeth, Garth Snyder, Ben Whaley, Dan Mackin

Publisher Resources

ISBN: 0596100299Errata Page