Slashdot Log In
Automated Ripping with CD Jukeboxes?
Posted by
Cliff
on Sat Dec 08, 2001 09:34 PM
from the let-the-computer-handle-the-tedium dept.
from the let-the-computer-handle-the-tedium dept.
apago asks: "I am ripping my large collection of CDs to MP3 one at a time. This takes forever. I would like to know if there is a way I can use my Sony 200 disc jukebox to help automated the ripping process. I can already drive the jukebox thru Sony's S-Link interface using a Nirvis Slink-e device. The juke has SPDIF output. Can I get a sound card with SPDIF input and start ripping thru the digital optical connection? Will this be the same quality as the CDDA data streams?" Now if something like this is possible, it would finally sell me on those multi-CD devices. I too am in the process of sending my CD tracks to MP3 format. It's a fun process, but a little bit of automation couldn't hurt.
This discussion has been archived.
No new comments can be posted.
Automated Ripping with CD Jukeboxes?
|
Log In/Create an Account
| Top
| 274 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Re:be careful .... (Score:4, Informative)
I HAD and still have a single speed CD-ROM (special Mitsumi interface board required!).
It does indeed play CD music just fine, and it reads data at 150 kb/s.
I think what the poster meant to say was this:
Since CD-audio is sampled at 44.1khz (44,100 hz), and is described at 16-bits of resolution the per second data rate is 705,600 bits. Converted to bytes that is 88,200 bytes/second. In kilobytes, that is 86.132 kb/s. That means a typical "classic" CD drive must sustain that transfer rate to play realtime CD Digital Audio.
I believe that when the CD format was defined that they defined the acceptable transfer rate at approximately 2x that rate, or 172kbps. Early production runs showed some trouble reaching that rate, and so, 150kbps became the standard. If memory serves, this was done to accomodate error correction and to provide a bit of room for extra data - perhaps extra channels or more resolution. 150kbps was defined as a "1x" speed after newer drivers offered beter performance. A 2x drive is 300 kbps, 4x is 600 kbps, etc.
But anyways, enough of my bad memory recollections. "1x" drives existed, but they were simply called "CD-ROM Drives" - they had no relative speed to compare them to. Just like the original DVD drives are now called "1x" - its because they need a baseline to compare "6x" drives by.
Probably not going to work the way you want (Score:4, Informative)
Re:False (Score:4, Interesting)
AES/EBU & SPDIF extract the clock from the incoming encoded bitstream with a phase locked loop. If you use this clock to drive your D/A converters, you are bound to the recovered PLL clock jitter specs. Tiny amounts of clock jitter cause real noise and distortion (Non-Harmonic Distortion!).
HOWEVER, in this case, you are just receiving the data words and storing them. The timing of these words is not important anymore. You don't care about clock jitter. That is not recorded when you store the the words to disk. So AES/EBU & SPDIF clock jitter do not matter in this case.
Anyways, that sucks if your sound card wants to sample-rate-convert the signal up to 48khz. Yes, that will cause distortion. My RME Audio 9652 (24 adat optical in/out, spdif in/out, wordclock, 44.1, 48, 96khz) pci card doesn't do that.
However unless they use a really crappy sample rate converter algorithm, that distortion will be masked by the mp3 encoding distortion.
--jeff
Track info (Score:3, Insightful)
CDDB etc. use the track lengths etc. to work out which album it is but this information won't come along with the audio, so you'll need to post-process the ripping operation to look up the album and rename the files or you going to have 1.mp3 through 3000.mp3 which would be a PITA!
External Jukeboxes can at best RIP at 1X (Score:5, Insightful)
1. Top ripping speed is 1x... slow
2. No disc info, so no CDDA type track ID info, are you going to type in all the track info?
3. No standard interface for controlling the external jukebox.
So although it would be GREAT to rip 50, 100 or more CDs at a time, there is no inexpensive way to do it.
A few years ago there were SCSI jukeboxes commonly available. I have a couple 7 disc ones sitting on my shelf, one 2x, the other 4x. Sadly both are so old they do not support audio ripping.
Unfortunately that market seems to have all but disappeared to be replaced with SCSI jukebox towers. You can build one yourself using cheap SCSI CD-ROM drives, and a big SCSI tower case. ComputerGeeks sells 24x SCSI CD-ROM drives for $15 each:
http://www.compgeeks.com/details.asp?invtid=240
You don't even REALLY need a case, you could just stack them up, tape them together, and use an old AT power supply to give them juice. Heat is not an issue since you are only using one at a time.
Re:some problems... (Score:5, Informative)
Most SPDIF receiver chips (e.g., those from Crystal Semiconductor) provide a way for a processor to examine the Channel and User bits. I have no idea whether common PC sound cards have this capability. Wiring up an ISA card with a Crystal Semi receiver chip would be pretty easy.
For details, I recommend
A couple of problems (Score:5, Informative)
1) Speed. AFAIK, multi-disk CD changers only read at 1X. Even with the highest qualtiy settings, I can encode at 3-4 times that rate on my dual CPU PIII.
2) Access to TOC. This is the real killer: if you want all the nice freedb lookups to work right, you need to extract the TOC from the disk and compute a hash of it. I am almost positive this doesn't go down the SPDIF line.
The speed I could deal with (just leave it running when you go on vacation for a week or so), but unless you want a hard drive full of unnamed
Don't know about PCs, but on the Mac use PowerFile (Score:5, Informative)
Anyone know how this could work on PC/Linux? They have a M$ SDK here [powerfile.com] which includes visual basic samples.
This may sound silly but... (Score:5, Interesting)
Then I got an idea and called up another friend and ask if his younger brother (age 13) wanted to earn a little money. I offered to pay $40 to rip them for me. I brought over a stripped down Win98 box with a fast CD-ROM and he got it done that weekend. All he had to do was stick the CD in, wait for CDDB to fill in the names, and click the convert button in MusicMatch or whatever the hell I was using back then. Rinse, repeat.
I mean, kids these days are usually familiar with the process anyway. A completely low-tech solutions but hey, if this is a one time deal why buy hardware that costs ten times as much?
- JoeShmoe
Re:This may sound silly but... (Score:5, Funny)
Slink-e, S/P-DIF, etc. (Score:5, Informative)
Every bit of audio present on a CD will be retrieved with a SPDIF connection. Enough quality for ya?
As for the interface and ease of writing discrete MP3 tracks when the SPDIF stream changes, tagging, etc., well, that's where a SPDIF connection becomes more of a hassle than normal ripping. But that's all really just a software issue -- all the hardware is available. Like the poster, I also have a Slink-e from Nirvis [nirvis.com]. Great box and it lets you pull approximate TOC info from the CD in a single or multi-disc Sony player (via an S-Link cable) to retrieve CDDB (or equiv) info for tagging or naming. You'll need another connection (S-Link, for example) alongside the SPDIF connection for player/disc/track data.
The Slinke hardware is platform independent, though the software the give away with it is entirely Windows. Search around and you'll see some Linux and Apple support for the Slink-e also...
in Python [connactivity.com]
someone's project & some links [www.hut.fi]
HA support [sourceforge.net]
By the way, the Slink-e is great for general infrared in/out in addition to controlling Sony (and a few other manufacturers') CDs, MDs, receivers, TVs, etc.
Is there really a market? (Score:5, Insightful)
Of course it would be cool to throw all your CDs in a 50 CD changer and have it auto rip.. but would you buy one? The real question is, would you use it a second time?
Once you rip your collection, you only need to rip your new CDs (likely purchased one at a time) as you buy them. This you can do with a conventional CD drive.
I think at the cost that mp3 home audio is going for now, it isn't worth it to market or purchase something that is designed for this type of single use convienence.
avoid ide jukeboxes; they tend not to do DAE (Score:3, Informative)
I am told there's a few Nakamichi changers that extract DAE over the scsi bus.
you really don't want to be stuck with a 1x system (spdif). even 4x beats that. plus, when you extract over a computer bus (not spdif) you can ID the disc and even read its TOC to get the song lengths, and use that to get the network cddb info. with an spdif stream, none of that is do-able.
iTunes? cdslayer? (Score:5, Informative)
However, now that I'm using MacOS X as a desktop, I use iTunes, which is actually better, oddly enough. While it doesn't have the seperate rip/encode queues, it does have auto-eject & auto-encode on cd insertion. Where it beats out my old cd-slayer is speed. cd-slayer had seperate processes, iTunes does encoding as it's ripping!
The speed is pretty incredible, on some tracks (Front Line Assembly), it does the rip/encode process for 192K/s songs at 15.5X. More typically, I get 8X performance. iTunes smokes anything I've used by not only combining both processes, but having a nice SMP AltiVec Fraunhoffer based encoder.
So, this still means a single CD takes 4 minutes, but that aint half bad. It still means spending 13 hours on the weekend inserting a new CD when you hear the completion sound and the gears turning as your CD drive ejects. Slot drive encouraged!
So, if someone has a nice G4 around, do what my roommate does.. "Hey Thomas, can you rip these for me real quick?". Just an idea!
Re:iTunes? cdslayer? (Score:4, Informative)
-----
Having just ripped 800+ CDs.... (Score:3, Informative)
Having said that, if I had to do it all over again, it would make a lot of sense to rip the CDs to wavs on a linux box, then have a cronned script to encode them.
By and large, the ripping took longer than the encoding. I was normalizing my CDs, so maybe that had something to do with it, but it'd be really nice if I could rip, rip, rip, then have my linux fileserver's processor manage the encoding while I was gone.
I think this concept maximizes the time that a human actually has to be around, and lets the computers do all of the repetitive crap. Which, of course, they are good at.
Ripping to
Take your time, convert it to a format you WANT, and let the computers do as much work as you are comfortable with.
Speaking from experience, you definitely will NOT want to do this again.
I've done it and it's GPLed (Score:5, Informative)
http://jukebox-control.sourceforge.net/ [sourceforge.net]
Interfacing to grip, lame, etc is fairly easy. It has FreeCDDB interfacing and can grab the TOC from the disc. It also will write the title information back to the jukebox so that you can easily select discs from the front panel.
XBox = painful CD ripping (Score:3, Funny)
I love being able to listen to my music while playing Tony Hawk, but it's painful to get to that point. Can't wait until they get this thing online so it can download the names from the CDDB.
Changers aren't worth the bother (Score:3, Interesting)
1) Ripping requires significant manual work if you want good results - in particular, cleaning up missing or incorrect or inconsistent data from FreeDB/CDDB, and cleaning/repairing/retrying discs that you can't get a clean rip from the first time. (And normalizing if you want that.) Even if you could reduce manual CD-changing to zero, it'd still be a tedious process.
2) Ripping isn't easy. You really want a player with fast reliable DAE and software you can trust to detect possible errors. Ripping a large collection is enough work that you don't want to redo it because you eventual discover sporadic errors in your first results.
3) CDROM drives are cheap and well-supported. CD changers are expensive and require kludges. Instead of messing with a changer, it makes a lot more sense to stick a few extra CDROM drives in your system. Borrow some good drives and an extra IDE or SCSI controller, or buy/sell them on eBay to effectively get a cheap rental. Then rip the discs four or five at a time at 15-20x using cdparanoia.
Rip all CDs to WAVs on RAID, make MP3s w/multi PCs (Score:3, Interesting)
I ripped all of my ~400 CDs to WAV format stored on a Linux RAID which is shared on my home network. I have two Western Digital 120GB drives striped in RAID-0, which gives me about 220GB useable online storage -- easily enough for 400 uncompressed CDs.
Granted, the ripping process was not automated with a juke, but it only took about 5 minutes per CD with my Plextor CD-ROM/R/RW drive.
The most time consuming part is converting WAVs to MP3. I've decoupled the ripping and compressing processes, and automated the latter. I do this with LAME running on multiple machines against a common data store (on the RAID).
I have a simple "multi-processing" script which runs on Linux and windoze clients; I run one copy of it per PC on the net that can reach the input WAV repository and the output MP3 repository. These two repositories can be on the same RAID, or can be at different locations on the net.
Each album is represented by a single directory of WAVs, and each copy of the script (running one copy of the script on each of several PCs) "owns" the crunching of a single album directory from WAV to MP3.
Since the crunching process is primarily CPU bound (not I/O bound) throwing multiple machines at it radically speeds the conversion process. The 100Mbps NICs and switch I have are more than enough I/O bandwidth. I can even use some PCs which live elsewhere in the house (on the other side of a ~10Mbps HPNA2/phone-net bridge).
I can process the entire collection from WAV to MP3 in about a day using 7 PCs of various vintage. House stays nice and warm too.
Since I haven't yet found the "best" LAME command line incantation for me, I've found that I've re-crunched the WAVs->MP3s more than once. My plan is to keep all the original WAVs around until I find a set of LAME conversion options that create MP3s nearly indistiguishable [to my ears] from WAVs.
-----
Juke auomation idea is pretty darn cool. I could have physically loaded 200 CDs in a fraction of an hour. Less than a day later (assuming 8X rip speed is somehow possible), the RAID would have been ~1/2 full with no further intervention by me.
Why not use MP3.com? (Score:5, Funny)
site confirms that you own a CD, and then you
can use their catalog of MP3's on the fly, saving
the trouble of ripping all of your CDs one at a time. It's a classic example of the American dream, where innovation with new technology creates new markets, expanding the horizons of creativity and comfort while driving the economy to everyone's benefit.
Oh, wait, the recording industry, which takes huge profits from the work of creative artists long after any of its contributions to production and marketing have been recouped, and sells product to consumers at monopoly prices, thus gouging both sides of the buyer-seller equation, might not benefit.
Oops...never mind.
cdex (Score:3, Informative)