Prev | Current Page 1014 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

)
3. Extract the music tracks you want by using the cdda2wav command. For example:
# cdda2wav -D /dev/cdrom -B
This reads all of the music tracks from the CD-ROM drive. The -B option says to output
each track to a separate file. By default, the cdda2wav command outputs the files to the
WAV audio format.
Instead of extracting all songs, you can choose a single track or a range of tracks to extract.
For example, to extract tracks 3 through 5, add the -t3+5 option. To extract just track 9,
add -t9+9. To extract track 7 through the end of the CD, add -t7.
If you have a low-quality CD drive or an imperfect CD, cdda2wav might not be the
best ripping tool. You might try cdparanoia -B to extract songs from the CD to hard
disk instead.
4. When cdda2wav is done, insert a blank CD into your writable CD drive.
NOTE
NOTE
532
Running Applications Part IV
5. Use the cdrecord command to write the music tracks to the CD. For example:
# cdrecord -v dev=/dev/cdrom -audio *.wav
The options to cdrecord tell the command to create an audio CD (-audio) on the
writable CD device located at /dev/cdrom. The cdrecord command writes all .wav
files from the current directory. The -v option causes verbose output.
6. If you want to change the order of the tracks, you can type their names in the order you
want them written (instead of using *.


Pages:
1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026