How I digitized my CD collection with open source tools | Opensource.com

How I digitized my CD collection with open source tools

Clean off your shelves by ripping your CDs and tagging them for easy playback across your home network.

11 CDs in a U shape
Image credits : 
Silver Spoon. Modified by Jason Baker. CC BY 3.0.
x

Subscribe now

Get the highlights in your inbox every week.

The restrictions on getting out and about during the pandemic occasionally remind me that time is slipping by—although some days, "slipping" doesn't quite feel like the right word. But it also reminds me there are more than a few tasks around the house that can be great for restoring the sense of accomplishment that so many of us have missed.

One such task, in my home anyway, is converting our CD collection to FLAC and storing the files on our music server's hard drive. Considering we don't have a huge collection (at least, by some people's standards), I'm surprised we still have so many CDs awaiting conversion—even excluding all the ones that fail to impress and therefore don't merit the effort.

As for that ticking clock—who knows how much longer the CD player will continue working or the CD-ROM drive in the old computer will remain in service? Plus, I'd rather have the CDs shelved in the basement storage instead of cluttering up the family room.

So, here I sit on a rainy Sunday afternoon with a pile of classical music CDs, ready to go…

Ripping CDs

I like using the open source Asunder CD ripper. It's a simple and straightforward tool that uses the cdparanoia tool to handle the conversion chores. This image shows it working away on an album.

asunsder.png

Asunder

(Chris Hermansen, CC BY-SA 4.0)

When I fired up Asunder, I was surprised that its Compact Disc Database (CDDB) lookup feature didn't seem to find any matching info. A quick online search led me to a Linux Mint forum discussion that offered alternatives for the freedb.freedb.org online service, which apparently is no longer working. I first tried using gnudb.gnudb.org with no appreciably better result; plus, the suggested link to gnudb.org/howto.php upset Firefox due to an expired certificate.

Next, I tried the freedb.freac.org service (note that it is on port 80, not 8880, as was freedb.freedb.org), which worked well for me… with one notable exception: The contributed database entries don't seem to understand the difference between "artist" (or "performer") and "composer." This isn't a huge problem for popular music, but having JS Bach as the "artist" seems a bit incongruous since he never made it to a recording studio, as far as I know.

Quite a few of the tracks I converted identified the composer in the track title, but if there's one thing I've learned, your metadata can never be too correct. This leads me to the issue of tag editing, or curating the collection.

Oh wait, there's another reason for tag editing, too, at least when using Asunder to rip: getting the albums' cover images.

Editing tags and curating the collection

My open source go-to tool for music tag editing continues to be EasyTag. I use it a lot, both for downloads I purchase (it's amazing how messed up their tags can be, and some download services offer untagged WAV format files) and for tidying up the CDs I rip.

Take a look at what Asunder has (and hasn't) accomplished from EasyTag's perspective. One of the CDs I ripped included Ravel's Daphnis et Chloé Suites 1 and 2 and Strauss' Don Quixote. The freedb.freac.org database seemed to think that the composers Maurice Ravel and Richard Strauss were the artists performing the work, but the artist on this album is the wonderful London Symphony Orchestra led by André Previn. In Asunder, I clicked the "single artist" checkbox and changed the artist name to the LSO. Here's what it looks like in EasyTag:

easytag.png

EasyTag

(Chris Hermansen, CC BY-SA 4.0)

It's not quite there! But in EasyTag, I can select the first six tracks, tagging the composer on all the files by clicking on that little "A" icon on the right of the Composer field:

I can set the remaining 13 similarly, then select the whole lot and set the Album Artist as well. Finally, I can flip to the Images tab and find and set the album cover image.

Speaking of images, I've found it wise to always name the image "cover.jpg" and make sure it's in the directory with the FLAC files… some players aren't happy with PNG files, some want the file in the same directory, and some are just plain difficult to get along with, as far as images go.

What is your favorite open source CD ripping tool? How about the open source tool you like to use to fix your metadata? Let me know in the comments below!

And speaking of music…

I haven't been as regular with my music and open source column over the past year as I was in previous years. Although I didn't acquire a lot of new music in 2020 and 2021, a few jewels still came my way…

As always, Erased Tapes continues to develop an amazing collection of hmmm… what would you call it, anyway? The site uses the terms "genre-defying" and "avant-garde," which don't seem overblown for once. A recent favorite is Rival Consoles' Night Melody Articulation, guaranteed to transport me from the day-to-day grind to somewhere else.

I've been a huge fan of Gustavo Santaolalla since I first heard his music on a road trip from Coyhaique to La Tapera in Chile's Aysén Region. You might be familiar with his film scores to Motorcycle Diaries or Brokeback Mountain. I recently picked up Qhapaq Ñan, music about the Inca Trail, on the Linux-friendly music site 7digital, which has a good selection of his work.

Finally, and continuing with the Latin American theme, The Queen's Six recording Journeys to the New World is not to be missed. It is available in FLAC format (including high-resolution versions) from the Linux-friendly Signum Classics site.

Two people chatting via a video conference app

Quarantine hasn't been all bad—it's allowed people to create fun online communities that also help others.
radio communication signals

Create your own electronic musical instrument with Open.Theremin V3.
HiFi vintage stereo

Play music for your friends, family, co-workers, or anyone else with an inexpensive audiophile setup.
website design image

Correct music tagging errors from the command line with this powerful open source utility.

About the author

Chris Hermansen portrait Temuco Chile
Chris Hermansen - Seldom without a computer of some sort since graduating from the University of British Columbia in 1978, I have been a full-time Linux user since 2005, a full-time Solaris and SunOS user from 1986 through 2005, and UNIX System V user before that. On the technical side of things, I have spent a great deal of my career as a consultant, doing data analysis and visualization; especially spatial data analysis. I have a substantial amount of related programming experience, using C, awk, Java,...