| Ripping on Solaris
I had a very pleasant day off today. I spent my day figuring out how to rip1 CD's using Solaris 10. There are tons of utilities out there for ripping CD's on Linux, and tons of products for doing it on Windoze, but I couldn't find a single comprehensive (or even graphical) tool for ripping CD's on Solaris.
First off, let me say that Solaris 10 rocks. Now that Sun has (re-)embraced the developer community, life is so much easier. Solaris 10 now includes many of the tools and toolkits that one would otherwise have had to find (and compile) and install oneself. I think that OpenSolaris has had a lot to do with it.
One of the utilities that is included in update 06/06 is cdda2wav along with a Paranoia library. cdda2wav is a nice command-line utility for extracting audio files from a CD. It can extract into WAV, AIFF, AIFT, and AU formats. Paranoia is a library for doing the same thing, only better. The purpose of paranoia is getting perfect audio off bad media and/or bad drives.
The next piece of the puzzle is LAME. LAME is (not2) an MP3 encoder. Given a WAV file, LAME will convert it to MP3 format. Unfortunately, LAME isn't included with Solaris yet. It is, however, available at RareWares. You just download the binary and unzip it, and you're ready to go. (For Solaris, go with 3.96.1.)
Having both pieces to the puzzle still isn't enough to be really useful. To stitch the two tools together in a user-friendly way, I wrote up a quick Perl script. The script uses the CDDB information downloaded by cdda2wav to construct a directory hierarchy and to generate track names. It forks off cdda2wav to rip the CD and then converts all the tracks using LAME.
What impressed me most was how well both cdda2wav and Paranoia work. I have a few CD's that are in less than pristine condition. Using iTunes on the Mac or WMP on Windoze, I can't get past certain tracks. cdda2wav with the Paranoia library has no trouble whatsoever producing perfect rips from those same CD's. I will now be using cdda2wav and Paranoia for all my MP3 production needs.
Footnotes:
- rip -- verb; make a perfectly legal copy of music that I own for my personal use
- LAME -- LAME Ain't an MP3 Encoder
|
You can build X-CD-Roast (http://www.xcdroast.org) from source. Or you can use pkg-get from Blastwave, to install it {with all dependencies} for you.
% pkg-get -a | grep xcdroast xcdroast 0.98alpha13Posted by Giri Mandalika on December 29, 2006 at 12:39 AM PST #
Posted by Jim Grisanzio on December 29, 2006 at 04:24 AM PST #
Posted by UNIX-WORLD NEWS on December 29, 2006 at 10:54 AM PST #
%pkg-get -i grip
Posted by Pradhap on December 29, 2006 at 06:30 PM PST #
--vbr-new -V 0 -q 0 --lowpass 19.7
Posted by matthew on May 01, 2007 at 06:47 AM PDT #
Posted by Atomdrache on July 30, 2007 at 04:43 AM PDT #