Ripping CD's under FreeBSD
I have written some TCL and SH scripts to handle the my needs for
converting CD's into mp3's. I have used several compressors,
BladeEnc, Xing MP3 Compressor, Lame, and Gogo. BladeEnc is slow,
Xing is *bad* quality, Lame and Gogo are fast and good.
The files of interest can be found here, which is a link to the directory I
keep this stuff in :)
Basic usage is as follows..
-
Edit the cddb2.tcl file so the autopath setting is correct for
your system. Edit getcdinfo.sh to reflect your CDROM.
-
Compile cddb-id for your system if you don't have an Elf box.
-
Run getcdinfo.sh to get the CD info for the CD in the drive
from the CDDB. It will write a file called cdinfo.txt.
-
Run cddb2.tcl renamer.sh track_%02d.mp3 %s.mp3 cdinfo.txt,
this will pop up a Tk window with the CD info in it for you to
edit to your hearts content.. HIt Save & then Quit.
-
Rip the CD using gettracks.sh 1 2 3 4 ... N. This uses cdd, sox,
and xingmp3 to generate mp3's of the CD called track_XX.mp3 in
the current directory.
-
Run the renamer script, ie sh renamer.sh - This will rename the
mp3's appropriatly, and edit their ID3 tag.
Daniel J. O'Connor
Last modified: Mon Mar 27 17:50:02 CST 2000