Q&A: How to digitize music
I finally decided to digitize my huge CD collection, but I need a little guidance. What do you think is the best format to rip CDs (MP3, MP4, WAV, and so forth), what’s a reasonable capture setting (I don’t have a huge hard drive, so I can’t go too high end), and what software would you suggest for not only ripping, but organizing and playing my music?
— Edward H.
Digitizing your music collection is a multi-step process. Fortunately, the tools required for this (other than your computer itself) are free. These instructions assume that you are using Windows: if you are using Linux, you are smart enough to do this without my help, and if you are using an Apple, no amount of advice can help you.
Step one is to decide on the format. As you obviously know, there are several to choose from. I recommend MP3: it is widely supported (meaning that you will have a wide variety of players to choose from), and it provides excellent sound fidelity (for most styles of music) at 192 kbps. 192 kbps refers to the “bit rate” — the amount of data used to store the song. While it is possible to use a higher bit rate, most people won’t be able to hear the difference past 192 kbps. Incidentally, I suggest you avoid “VBR” (which stands for “variable bit rate”). While there’s nothing intrinsically wrong with a variable bit rate MP3, it tends to throw off the “elapsed time” indication in most MP3 players, which I find annoying.
STEP ONE: CDEX
Digitizing a music CD is referred to as “ripping”. This is pretty straightforward. Download and install the utility “CDex” from http://cdexos.sourceforge.net/. The first thing you will want to do after you install CDex is to configure the software.
First, the Generic settings (Options -> Settings -> Generic). The important settings here are “ID3 Tag Version”, “Track Nr Format”, and “Normalize”:
ID3 Tag Version: ID3 V1 & ID3 V2
Track Nr Format: 0 N
Normalize: **NOT** checked
Next you need to set up the Filename settings (Options -> Settings -> Filenames). The important settings here are “Filename Format”, “WAV -> MP3”, and “Recorded Tracks”. “Filename format” is a personal choice, but if you want to avoid name conflicts, you need to include the album name, the artist, and the track number, in addition to the song name. Setting this up now will save you grief later. The file paths should be the same for both “WAV -> MP3” and “Recorded Tracks”. Whatever path you select, create a “Raw” directory and store the ripped music files there, because you will be processing these further after they are digitized (I’ll cover that in a bit). Here are the setings I use:
Filename Format: %1\%2\%7_-_%4
WAV -> MP3: D:\Documents\Music\Raw\
Recorded Tracks: D:\Documents\Music\Raw\
The CD Drive settings (Options -> Settings -> CD Drive) will either be very easy or very difficult. If you are lucky, your CD drive will be supported and you’ll have no problems. If you do run into problems here, resolving them is beyond the scope of this Q&A: try asking for help on the CDex support forums. In any event, here are the important settings for this screen:
CD-ROM Drive Type: Generic (try the “Auto-Detect” button if “Generic” doesn’t work)
Ripping Method: Paranoia, Full
Select All CD Tracks: checked
Use CD-Text: checked
Lock CD During Extraction: checked
Next come the Encoder settings. This screen is where you set the quality of the digitized file. It is also possible to create a digitized file that you will not be able to play, so don’t fiddle around too much here unless you know what you are doing. Here are the settings I recommend (anything not listed should remain un-checked):
Thread Priority: Normal
Encoder: Lame MP3 Encoder (the exact version may vary)
Version: MPEG 1
Bitrate Min: 192 kbps
Mode: Stereo
Quality: High (q=2)
VBR Method: Disabled
Output Samplerate: 44100
We’re almost done. ext is the Local CDDB setting. This is where CDex stores song names and titles for the CDs you digitize. It doesn’t really matter what you select here (you can’t really break anything), but here are the settings I use:
CDDB Path: D:\Documents\Music\localcddb\
Windows-format CDDB files: checked
Store in local CDDB: checked
Use Long Directory Names: checked
Finally, set up your CDDB connection (Options -> Settings -> Remote CDDB). CDDB is an online database of song names and titles. By setting up CDDB in CDex, you will save a great deal of time typing in song names. You will still need to check the titles that CDDB returns, but that’s much easier than typing them all from scratch. Setting up CDDB is simply requires you to select a free CDDB server, and type in your email address, and checking “Auto connect to remote CDDB”.
Now that you have all of that set up, put in your music CD, make sure the song titles are correct, select all of the song titles (either with the keyboard or with the mouse — only the songs you select will be digitized), and hit function key 9 (you can also click the second icon from the top on the right-hand button bar, or you can select the menu item “Convert -> Extract CD track(s) to a compressed audio file”).
A few minutes later, you CD is digital. Now comes step two: post processing.
STEP TWO: MP3GAIN
You’ve noticed that not every CD is at the same volume, right? This isn’t a big deal with you are listing to one CD at a time, but when you set up your songs juke-box style (all good MP3 players permit this), you will wind up having to adjust the volume constantly. That’s where MP3Gain http://mp3gain.sourceforge.net/ comes in. Like CDex, MP3Gain is free (although donations are always appreciated).
MP3Gain analyzes mp3 files to determine how loud they sound to the human ear. It can then adjust the mp3 files so that they all have the same loudness without any quality loss. This way, you don’t have to keep reaching for the volume dial on your mp3 player every time it switches to a new song.
Once you are done digitizing all of your songs on any given day, close CDex and run MP3 Gain. First, configure a few settings (located under the “Options” menu item”). These options should be checked:
Options -> Add subfolders
Options -> Preserve file date/time
Options -> No check for Layer I or II
Options -> Don’t clip when doing Track Gain
Options -> Tags -> Ignore
These settings will cause you the least amount of headaches and permit MP3Gain to do its job as quickly as possible. The last two of those settings (“Don’t clip when doing Track Gain” and “Tags -> Ignore”) are particularly important, because they will prevent MP3Gain from accidentally corrupting your digitized files.
Next, set the “Normal” volume, in the little box just above the main file pane. The default of 89 dB is fine for most uses.
Now that the settings are configured, add the “Raw” folder (where you told CDex to store your digital files) to your list of selected song files, either by typing CTRL-D, clicking the second icon in the button bar, or selecting menu item “File -> Add Folder”. The file window will fill up with the songs you just digitized.
The next step is to simply apply the gain. This is done by selecting menu item “Modify Gain -> Apply Track Gain”, or typing CTRL-G. Note: you do NOT want to apply “album gain”, what you want is “track gain”.
Now go have a cup of coffee — this will take a while. If you have thousands of songs, like I do, it may take overnight. But once that’s done, you are almost ready to play your digitial music collection. Almost.
STEP THREE: BULK RENAME UTILITY
The last step is to make sure your song files are named consistently. Fortunately, this is the easiest step of all. First, install Bulk Rename Utility http://www.bulkrenameutility.co.uk/. Like the other software in this process, Bulk Rename Utility is free (although, as always, donations are appreciated).
If you install the version of Bulk Rename Utility which includes the “installer” program (which I recommend), it will create a context menu item, “Bulk Rename”. So simply navigate to the “Raw” directory where you have stored your digitial song files, right-click, and select “Bulk Rename”. The Bulk Rename Utility will open, with your Raw directory pre-selected.
Before you rename anything, you need to change two settings. First, in the menu bar, ensure that the setting “Options -> Auto-Select Entries” is checked. Next, toward the bottom of the Bulk Rename Utility screen, there is a checkbox labeled “Recursive”. Check this checkbox. The file pane above will then refresh with all of the files under your “Raw” directory.
Now that the files are displayed and selected, you can rename them. In the “Repl. (3)” box, type a single space in the text box labeled “Replace”. Then, type a single underscore in the textbox labeled “With”. Then click the “Rename” button, click “OK” on the warning that pops up, and you are done.
What you just did is replace all spaces with underscores. This will save you a great deal of trouble later (for example, if you ever set up a web jukebox on your home server). It may seem a nuisance, but trust me, you are avoiding a host of headaches by doing this now.
STEP FOUR: PLAYING THE SONGS
Because you selected MP3 as the file format, you have a wide variety of players to choose from. For playing songs on your own computer, nothing beats WinAmp http://www.winamp.com/ (free, of course). However, you don’t need to stop there. You can set up a web server and connect it to your home stereo, and then use a program like mp3act http://www.mp3act.net/ (again, free) to access your home jukebox from any networked computer. Finally, you can carry your music with you on a portable MP3 player, such as an iPod running the open source Rockbox firmware.