The boring rants of a lazy nerd

Monday, May 23, 2005

Music - Sampling

No, this is not about the process of digitizing an analog signal (though it is well worth your while to find out what "digital" actually means, even of you're not a technophile like me, at least so you know when advertisers clearly lie).

"Sampling" as in tasting a little bit of everything in a buffet or listening to a bit of various unfamiliar musical styles/performers to find out if you're missing out on something good. Like radio is supposed to be. Unfortunately, since all I get at work is commercial (remember payola?) brainwashing courtesy of local recording companies / RIAA franchises, I steal music from the net to find out what I like (Schoolgirl will be glad to hear I don't listen to much Yanni any more...).

So, if, perhaps by accident, you've discovered a large file with a "rar" extension and perhaps the words "ape" or "cue" in its name on your computer and decided you're not afraid of communism and would like to give it a try, here's some advice.

First of all, congrats on choosing the cd image instead of the mp3s. It means you value the quality of your music, and won't let some ripper's poor choice of encoding software to alter your perception and possible appreciation of the artist's work. Having an actual CD image, possibly compressed by some lossless compression method, enables you to recreate a bit-identical copy of the audio CD, so you'll know what you get when you buy it (well, that and the inlay, but that too is often provided as high resolution scans).

What you need to do then is extract the archive using unrar (free from rarlabs.com):

$unrar x foo.rar

Now you can either play it, if your player supports cuesheets and decodes Monkey's Audio (plugins are available for popular media players), burn it to CD (again, plugins are available for popular burning software), or convert it to mp3s (for use in portable players or some such). For that, you need the proper decoder (in this case, mac), cuetools, shntool and of course lame (all free software). When you have the latest versions installed, just:

$cuebreakpoints CDImage.cue | shnsplit -n "band-album-" -o cust ext=mp3 { lame --preset standard - %f } CDImage.ape

and (after a while) - voila!

I have yet to find a way to specify certain tracks to split so you'd be able to do less work to get a single track or even fork off multiple instances to use that SMP machine you might have properly. But at least you don't need to create temporary files.

Shell out for albums you like - the artists do get a little of that money!

No comments:

Blog Archive

About Me

GCS d- s-: a-- C++$ UL++ P+++ L+++ E--- W+++ N o? K? w++$ !O !M !V PS-(+) PE Y+ PGP+(-) t--@ 5++(+++) !X R-- tv-- b+>++ DI+++ D+ G e h! r* y--(-)>+++