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.
-a
divider
,--divider
divider
Set rate to 44,100 Hz/divider. To get a list of possible values, use the
-R
option.-A
drivename
,--auxdevice
drivename
Specify a different drive for ioctl purposes.
-b
n
,--bits-per-sample
n
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.
-c
channels
,--channels
channels
Set recording channels. Use
1
for mono,2
for stereo, ors
for stereo with both channels stopped.-C
endianess
,--cdrom-endianess
endianess
Set the endianess of the input samples to endianess. Possible values are
little
,big
, orguess
.-d
amount
,--duration
amount
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
.-D
devicename
,--device
devicename
,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 ...
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.