[Techtalk] cdrom audio weirdness

Alvin Goats agoats at compuserve.com
Fri Sep 27 17:35:40 EST 2002


If you are trying to listen to an audio CD, just use your cdplayer
program. Audio files are recorded on the CD differently than data and
the cdplayers work just fine. Be aware that most cdplayer programs are
set to look at /dev/cdrom, so /dev/cdrom2 probably won't work without
tweaking the source and recompiling.

The sequence:

mount -t iso9660 /dev/scd1 /mnt/cdrom2

is the same one used to mount a data disk to the system. ISO-9660
defines how to store data on a CD. Music CD's are written in CDDA
(Compact Disk Digital Audio) which from the man page for mount, is not
supported.

If you are wanting to rip a song from the CD, I use cdda2wav:

cdda2wav -v255 -D2,0 -t tracknumber -Owav  

(tracknumber is the actual number) 

and:

cdda2wav -v255 -D2,0 -B -Owav  

to rip all of the songs off the CD. (2,0 is the last two digits of 0,2,0
that comes up on the SCSI description for the device from dmesg for my
SCSI CD. Yours may be different).

On some computers, (my Toshiba laptop for one) cdda2wav works with:

cdda2wav -v255 -D/dev/cdrom ...


Good luck!

Alvin



More information about the Techtalk mailing list