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.
79 readers like this.
CDs

Silver Spoon. Modified by Jason Baker. CC BY 3.0.

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.

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:

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.

What to read next
Chris Hermansen portrait Temuco Chile
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.

3 Comments

Interesting. I find that music players and ripping tools are all well and good with "pop" music, but come horribly unstuck with classical.

Normally I care about the composer first, the performer, conductor, soloist etc are important but as I only have one copy of most pieces, I don't need to sort/search on orchestra or conductor, what matters is Beethoven and Symphony No 5. It is nice to know all about the recording, but most of the information is essential for searching.

I don't have that many CD, but I've enough for the metadata to matter... As you say tagging is important!

Interesting info, thanks for sharing. I have two questions: What is your FLAC specs when ripping CD's? and What do you prefer a cover file or attached cover in file?

P.S: I have a suggestion, Can you writing about WAV tagging?

Although I run Gnome, I can recommend several KDE/QT-based tools which I've been using for some time:

SoundKonverter to do the ripping, conversion, and tagging. This tools uses online CD databases, and you can edit the metadata before saving the files; for example, if you "prefer title" case to "start case". You can define the file system layout for the saved music: for instance ~/Music/ARTIST/YEAR - ALBUM/NN - TITLE.EXTENSION, which is my preferred format.

Kid3 for additional and/or mass tag editing, and the ability to save album art directly in the files.

Flacon when you originally have one big audio file and a cue sheet, but you want to split the file into separate tracks.

Sonic Visualiser to "view" audio data and check mastering quality. With this tool, you can actually *see* that some CDs are victims of loudness war. And a related one: Spek.

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.