cdparanoia is a command line
audio CD digital audio extraction application. You can use use it for compiling music in a format suitable for your PC or mobile music player. cdrparanoia is available on almost all linux distributiions.
On ubuntu you can install it with

$ sudo apt-get install cdparanoia

For trying out cdpaanoia ,put an audio CD in your cd drive and run the following command from a terminal.

$ cdparanoia -vsQ

Checking /dev/cdrom for cdrom…
Checking for SCSI emulation…
Checking for MMC style command set…
Verifying CDDA command set…

Table of contents (audio tracks only):
track length begin copy pre ch
===========================================================
1. 18295 [04:03.70] 0 [00:00.00] no no 2
2. 16872 [03:44.72] 18295 [04:03.70] no no 2

11. 17908 [03:58.58] 174587 [38:47.62] no no 2
12. 17342 [03:51.17] 192495 [42:46.45] no no 2
TOTAL 209837 [46:37.62] (audio only)

The above output show the capabilities of your CDROM , wheither CDDA is supported, SCSI emulation is used etc. Cdparanoia extracts audio from compact discs directly as data, and writes the data to a file or pipe in WAV, AIFC, AIFC or raw 16 bit linear PCM.

Here are some examples of cdparanoia command lines that I use.

$ cdparanoia -B Rip tracks as WAV files by track name
$ cdparanoia -B — “3-5” Rip tracks 3-5 into separate files
$ cdparanoia — “3-7” myrip.wav Rip tracks 3-8 to one file (myrip.wav)
$ cdparanoia — “1:[40]-” Rip tracks 1 from 40 secs in to end of the CD
$ cdparanoia -f — “3”
Rip track 3 and save to AIFF format
$ cdparanoia -a — “5”
Rip track 5 and save to AIFC format
$ cdparanoia -w — “1” my.wav
Rip track 1 and name it my.wav

Tags: