|
|
Log in / Subscribe / Register

Digitizing Vinyl Records with Audacity

By Forrest Cook
October 28, 2008

The Audacity sound editor is an excellent application with many uses. Your author recently started working on a long-term project to convert the better parts of his ancient vinyl phonograph record collection to FLAC files so that they could be added to his digital audio library. Audacity was chosen to do the audio recording and processing work.

Prior to undertaking such a project, one must first assemble the appropriate equipment. An older desktop computer with an Athlon 2500 processor and 500MB of RAM was used for the computing platform. Besides a sufficiently powerful CPU, the second most important piece of hardware is a decent sound card. An M-AUDIO Delta 44 was chosen. Standard sound cards should also work, but the Delta 44 has higher quality A-D converters that are mounted external to the computer for lower noise. The Ubuntu Studio distribution was used on the machine, although any current Linux distribution should work.

The turntable is an ancient Technics SL-D3 and a Pioneer SX-780 receiver is used as the phono preamp. One of the Tape Record Outputs from the Pioneer receiver is fed into the Delta 44 sound card with an appropriate set of adapter cables. The turntable's tracking weight, anti-skid settings and platter speed should all be adjusted appropriately. One of the new USB turntables could probably be used here if you don't already have access to the legacy hardware.

The Audacity sound editor needs to be set up by entering the Edit->Preferences menu, the audio quality was set to 44,100 Hz sampling at 16 bits (standard CD quality). Depending on your needs, other sample rates can be used. One of the more important configuration steps involves making sure the Software Playthrough button in the Audio I/O preference window is deselected. On this particular machine, enabling Software Playthrough results in audible sample loss on the recording. Audio monitoring is done through the Pioneer receiver. The audio meter should be enabled on the main Audacity window and the GNOME ALSA sound mixer is used to set the sound card input levels. The machine is now ready to record.

[Audacity]

It is a good idea to make a few test recordings on various album tracks to set the sound card's input level adjustment. A loud track should be played and the input level should be adjusted to achieve fairly high readings on the meter without any clipping.

Unless you only need to extract one track, it is best to record an entire album side in one pass. Recording should be enabled prior to setting the needle on the record, and disabled after the needle has been lifted. Be sure to use an appropriate record cleaner on the disc to get rid of any dust particles.

When an album side has been successfully recorded and the levels look reasonable, it is time to do some trimming. Listen to the beginning of the recording with the volume up a bit, At some point the sound will probably begin with a fade in. Select the audio from the beginning of the recording, past the initial pop from the needle landing in the groove, and ending a few seconds before the first track starts. Delete the selection with Edit->Delete. Next, select from the new beginning to where the sound begins. Use Effect->Fade In to make a smooth transition from quiet to the beginning of the audio. Perform a similar edit at the end of the album side. Delete everything from a few seconds beyond the last sound to the end of the recording and put a Fade Out at the end of the side.

If your album has a few clicks and pops, now is the time to remove them. Select the entire recording with Edit->Select->All and de-click with Effect->Click Removal. The default click filter settings seem to work fairly well.

The next step involves putting labels at the beginning of each song, assuming the album's material is not one long track. First, create a label track with Tracks->Add New->Label Track. Hit the << rewind button and type Control-B, this puts a label at the beginning of the recording. Move through the album side and put more labels at the middle of each song transition. It is a good idea to zoom in and put the label on a wave zero-crossing point to prevent clicks at the beginnings of individual tracks. If you zoom in, you can often see a change in wave patterns that is left over from the master tape splice. The recording should now look something like the first frame of the Audacity Images.

It is a good idea to listen carefully to the entire recorded album side. If the recording has any obnoxiously loud clicks and pops that weren't removed with the Click Removal step, Audacity can smooth them out. To smooth out a click, locate the offending waveform by playing and pausing, then zoom in multiple times until the click is visible. Select a small region around the click (< 128 samples) and use Effect->Repair to smooth out the waveform. Zoom out and play the area where the click removal was performed to verify the operation. Audacity is very forgiving, if you don't like the results of the click removal or make another type of mistake, Edit->Undo will reverse most operations. An example Repair operation is shown in the Audacity Images.

At this point, it is time to split the album side into individual audio files. Select File->Export Multiple, chose the desired export format such as WAV, select Split files: based on labels and Name files: Numbering consecutively. Click the Export button and click Audacity will render the individual track files. Audacity can create .mp3 and .flac files at this point, or that can be done at a later time. At this point, you exit Audacity and save any edit information if you think you will need to work on the recording later.

The same operations are performed on the B-side of the record. Your author likes to use a short BASH script to rename the Audacity-generated file names to his own name scheme. The track files are all grouped together in one directory, converted to FLAC format with the command FLAC *.wav. A meta-data text file is created with digitizing notes, track titles and any other information that you wish to save. Lastly, all of the files are played one more time to verify that there are no problems. The original album side tracks can now be safely deleted to reclaim some disk space.

With enough editing effort, it is possible to make a digital copy of a vinyl record that sounds better than the original. Performing all of the above steps on a large collection of albums is a big undertaking, but the reward comes in turning a hard to play discrete music library into an easy to play digital library.

For furthur information on this topic, see the followup article.



to post comments

Digitizing Vinyl Records with Audacity

Posted Oct 30, 2008 16:25 UTC (Thu) by nix (subscriber, #2304) [Link] (2 responses)

Nice description. The only thing I find odd is the fade at the start. Is
this done so as to fade up any audible background sound you weren't able
to get rid of? I can't see any reason to fade in actual music, but perhaps
I'm too clasically oriented to see the point. (With classical stuff,
either you can't hear a fade in because the music itself is fading in,
starting pp, or you don't want to hear it because the music is supposed to
sound louder than that. An example anyone can get: can you imagine
Beethoven's 5th with an initial fade-in? Yuck...)

Digitizing Vinyl Records with Audacity

Posted Oct 30, 2008 16:29 UTC (Thu) by cook (subscriber, #4) [Link] (1 responses)

>The only thing I find odd is the fade at the start. Is
>this done so as to fade up any audible background sound you weren't able
>to get rid of?

The beginning fade-in is just an effort to make a smooth transition
between total silence and the track noise that starts before the first
recorded sound begins.

Digitizing Vinyl Records with Audacity

Posted Oct 30, 2008 16:50 UTC (Thu) by nix (subscriber, #2304) [Link]

Ah, right, so it is a background noise thing. I suppose it makes sense: my
thirty-years-dimmed memories of vinyl records says that they generally had
long pauses before the music started, unlike CDs and cassettes (but this
could well be inaccurate).

Digitizing Vinyl Records with Audacity

Posted Oct 30, 2008 20:46 UTC (Thu) by tcabot (subscriber, #6656) [Link] (1 responses)

> Select the audio from the beginning of the recording, past the initial pop from the needle landing in the groove

Call me old fashioned, but when I digitized a few of my LP's a few years ago I kept the sound of the needle hitting the groove, and the rumble of the turntable's shutoff mechanism picking up the tonearm at the end of the side. After playing the records so many times I had grown to expect those sounds to be there.

Digitizing Vinyl Records with Audacity

Posted Oct 31, 2008 0:25 UTC (Fri) by ncm (guest, #165) [Link]

The CD album of the Supersuckers' album "Must've Been High" (recommended) includes record-needle noises for authenticity.

By the way, this article doesn't really seem to be about development, but I appreciate it no less for that.

Digitizing Vinyl Records with Audacity

Posted Oct 31, 2008 8:59 UTC (Fri) by grmd (guest, #4391) [Link]

After recording using Audacity, I've used Gnome Wave Cleaner to do similar post processing, although I don't know how they compare in these functions.

avoiding pops

Posted Nov 2, 2008 4:51 UTC (Sun) by pjm (guest, #2080) [Link]

Cleaning the record surface is a very important step. I'm told that it's necessary even if the LP has never been played, just because of some chemical reaction that occurs over time.

How can one find other digitizations of the same recording, to filter pops that way (on the assumption that the pops occur in different places) ? How can we make it easier to do in future?

Digitizing Vinyl Records with Audacity

Posted Nov 7, 2008 0:31 UTC (Fri) by nyarvin (subscriber, #55077) [Link] (1 responses)

Another thing to note is that if you're connecting your turntable directly to the computer (rather than through a preamp), you should apply the RIAA preamp filter in Audacity. Audio preamps have circuitry which does this -- it's part of why the "phono" input is special -- but doing it digitally is probably more accurate, and doesn't involve connecting up an extra box. The RIAA filter lowers the amplitude of the higher-frequency components; the idea is that before records are made, the reverse of this filter is applied to the signal; so to play a record accurately, you need to apply this filter. Audacity has it under the "Effect" menu, in "Equalization".

Digitizing Vinyl Records with Audacity

Posted Dec 23, 2008 22:00 UTC (Tue) by cook (subscriber, #4) [Link]

>Another thing to note is that if you're connecting your turntable directly >to the computer (rather than through a preamp), you should apply the RIAA >preamp filter in Audacity.
Be careful here, the phono preamp not only does the RIAA equalization,
it also has a ton of gain to bring the tiny magnetic pickup levels
up to "line level". Connecting the phono pickup directly to a sound
card would probably result in a very low level recording with a lot of
hiss. I would not use the higher gain "mic" inputs on most sound cards
either, they tend to be noisy and most of them are mono-only.
An outboard preamp produces the best results.


Copyright © 2008, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds