Linux.com

Feature: Desktop Software

Digitizing records and tapes with Audacity

By Beth Skwarecki on October 04, 2007 (9:00:00 PM)

Share    Print    Comments   

You've been ripping CDs for years, but what about those dusty cassette tapes in your attic and all that bargain-basement vinyl at used book sales? With Audacity, you can capture those vintage tunes, clean up their sound, and carry them around on your MP3 player.

Audacity is a powerful free cross-platform audio editor. It includes tools such as noise removal filters and automatic track splitting that can speed up the process of turning your antique audio into shiny new MP3s or Oggs.

All you need to begin, besides a recent download of Audacity, is a computer with a sound card -- use the "line in" port if you have one -- and your tape deck or turntable.

Plugging in

You can plug a tape deck directly into your sound card, but a turntable requires a phono pre-amp. The pre-amp amplifies the sound to a useful level, and applies the RIAA equalization curve, which is necessary for records made after 1954 or so. (For older records, apply a different equalization curve using these directions.)

A USB turntable (I use the ION iTTUSB) can plug directly into your USB port. It has the pre-amp's functions built-in.

To begin recording with Audacity, check that you have your computer's recording and playback devices listed under Edit -> Preferences -> Audio I/O. Then just press the big red Record button. When you're done, press the yellow Stop button. Your recording now appears as a waveform on your screen, but it's not saved to disk. Click File -> Save to save it as an Audacity project (.aup). You'll need to process this raw recording to make finished song files.

If you prefer to do the recording and processing in separate batches -- a good strategy if you're borrowing time on a friend's turntable -- you can use your favorite recording tool (such as arecord) to create a WAV file of each record or tape side. When you're ready to process and split the tracks, just import the WAV with File -> Open. Audacity will detect the file type and convert it into an Audacity project (.aup).

Automagic track splitting

If your recording is part of an album, it will have short silences between the tracks. Audacity can detect those silences and place markers to split the tracks. Here's how.

Select your whole recording by pressing Ctrl-A and click Analyze -> Silence Finder. Audacity will create a label track underneath your main audio track, with a marker at every silent spot.

You'll want to delete the last label, because it's only marking a split-second of silence. To delete it, click on the label and press the backspace key until the label disappears.

Now you've got a label for each track, but they're all called something unhelpful, like "S." Click on the first label. This sets the playback position, so you can begin listening to the track, and it also gives focus to the label so you can type in the title of the song. (When you export to MP3, the label text becomes the ID3 Title tag.)

Because the titles will become filenames later, avoid using the slash (/) character, since that's illegal in a Unix filename, so Audacity won't be able to save a file with a slash in it. If two labels have the same title, Audacity will add numbers to their filenames -- so if you have two tracks named Song, your finished mp3 files would be named Song-1.mp3 and Song-2.mp3.

Manual track splitting

If your recording doesn't have clear silences between the tracks, the Silence Finder can't help you. Recordings of radio shows usually have this problem, because DJs try to avoid dead air. (When I tried the silence finder on a radio broadcast, my labels marked awkward pauses in DJ patter and musical breaks in the middle of songs.)

Manual track splitting requires more patience than the automatic sort, but it's not hard. First, create a new label track with Tracks -> Add New -> Label Track . Listen to your recording using the playback and navigation tools, and click Pause at the point where you'd like to start a new track. Place a label there with Tracks -> Add label at playback position (Ctrl-M). Click inside the label to give it a name, as before.

Filtering with the Effect menu

If your recording has a constant background noise, such as hiss from a cassette tape, you can remove it with the Noise Removal filter. It's a two-step process:

First, select a few seconds of silence, say from the beginning or end of your recording. Click Effect -> Noise Removal, and click "Get Noise Profile."

Then, select all (Ctrl-A) and click Effect -> Noise Removal again. You can adjust the parameters and listen to a preview before hitting the Remove Noise button to finish the job. (If the preview is too short for your liking, adjust the preview length in Edit -> Preferences -> Audio I/O.)

When a record needle hits a speck of dust, it creates a "click" or "pop" on a recording. Audacity has a filter for this, too. Select all and use Effect -> Click Removal. You may need to experiment with the settings to find what works best for your recording.

Exporting and tagging

Before you export your Audacity project into a folder of MP3s or Oggs, you'll want to fill in the metadata for ID3 or Ogg tags. Click File -> Open Metadata Editor and you can enter the artist, album, year, genre, and comments. Leave the title and track number blank; Audacity will fill these in from your labels.

When you're ready to go, click File -> Export Multiple. Set the export format to MP3, or the format of your choice. (Note that you need to have lame installed to encode MP3s.) Enter the name of a convenient directory as the export location. In the same dialog, tell Audacity to split files based on labels, and to name files using label name. Click the Export button, and you're done!

In addition to exporting individual songs, you might want to save your whole Audacity project in case you want to return to it, say to do more effects filtering on the whole album. In that case, choose File -> Save Project.

If you want to edit your MP3 tags, you don't need to do it in Audacity and re-export the files. You can use the id3v2 tool to edit MP3 tags from the command line, or try EasyTAG for a point-and-click interface to edit the tags in MP3s or Oggs.

To learn more about what Audacity can do (and it can do a lot!), peruse the Audacity wiki.

Beth Skwarecki is a writer, programmer, and longtime Linux user.

Share    Print    Comments   

Comments

on Digitizing records and tapes with Audacity

Note: Comments are owned by the poster. We are not responsible for their content.

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 216.84.100.242] on October 04, 2007 09:26 PM
This has been how I have done this for years. After explaining this to friends over and over, I'm glad someone was kind enough and generous enough to write it up. Good job!!

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 69.158.10.57] on October 04, 2007 11:41 PM
Yes indeed thanks much for this! This is one project I've had on the perverbial back burner for a very long time. I have a lot of vinyl and cassettes that would be impossible to find on CD.

#

Filter with the Gnome Wave Cleaner Project

Posted by: Anonymous [ip: 195.204.47.58] on October 05, 2007 06:27 AM
One could also consider to use the the Gnome Wave Cleaner Project for denoising, dehissing and amplifying audio files:
http://gwc.sourceforge.net/

Still, thanks for the article!

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 121.222.249.86] on October 05, 2007 11:11 AM
I've done 100's of Vinyl & Cassettes in Cool Edit (I'm sorry , Windows) years ago, now Audacity id FOSS.
Couple of tips,
If you want to make Audio CD's from your recordings leave (or create) a two second pause, some CD players are sensitive to this,
Also, be prepared that Cassettes have lost their tone, hit the 2nd hand Vinyl store,
Carefully monitor the incoming volume,and adjust the volume accordingly, all LP's are different, distortion can't be removed, do a test first, it's worth the time. You can always amplify it with the software, bring it in too hard and it will always be rotten, no matter what you do, "just ask todays CD makers" - my. my, hey, hey.
All you need to clean an LP is metho and a lint free cloth, don't trash the label, and move circular, unlike CD's, the rag will pull all the goo from the grove, finish in the direction of the diamond for minimum friction.

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 24.95.62.192] on October 05, 2007 11:13 AM
I've also been doing this for a year or so now. Another option for Tagging is the Picard tool from MusicBrainz.org. I've had a lot of success even with my older albums.

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 165.138.223.4] on October 05, 2007 02:46 PM
This is awesome. I've already digitized all of my tape collection and several records using Audacity. Its good that the word has gotten out on all the cool software to do this.

,Rooks

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 142.104.151.33] on October 05, 2007 07:12 PM
If you are having trouble with tape hiss, denoising with the noise removal tool definitely can go a long way to getting rid of that noise. Although in my experience is is sometimes difficult to find that place where the sound hasn't started to alias (at which point you start to hear quiet high pitch tinkling... sort of) if you step the denoising down a little from there then you start to hear hiss. less hiss but hiss all the same. You can get rid of that hiss using a low pass filter. I know that this is going to affect quality and if your working with music you may find this really detracts from the end product. But if your working with just spoken word or low quality recordings sometimes using a low pass filter to get rid of the hiss makes for a more listen-able final product. Thanks for the article!

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 89.85.122.46] on October 07, 2007 01:21 PM
I'm always careful with recommending the Noise Removal tool. Actually, if you pay attention to the resulting audio, you'll notice you're introducing really annoying noise. Tape noise is noticeable, but you can forget about it, whereas the noise created by the Noise Removal tool is always changing and sounds unnatural, thus you'll always be distracted by it.

It is true even if using the tool at low levels - and it is always a pain when people hand you recordings they are so proud to have "denoised", when what they achieved was making the audio unbearable .

The problem is worse with human voice (talks, lectures, free audiobook), but it's still a pain with music.

For human voice, yes, a low-pass filter is far better. But please no more of the "Noise Removal" self-deluding. Making the recording as noise-free as possible is the only sane way to go, don't imagine you'll be able to improve it with a tool like that (and that's not an Audacity problem, I've seen commercial audio edition software achieve the same audio slaughtering).

#

Line-in problems

Posted by: Anonymous [ip: 216.243.156.16] on October 08, 2007 04:54 PM
One thing that has kept me from doing this successfully is that I have not been able to get a signal read through the line-in on my sound card. I have had this problem with multiple machines, using Mandriva Linux, so I don't think that it's a problem of the hardware. Alas, I have never found an adequate description of how to troubleshoot this issue. All of the sources I've found have said something like "use alsamixer to set the line in." As a non-audiophile, I find the very long list of options on alsa mixer quite confusing and when I am unable to get line in despite changing the mixer options, I am left w/o much in the way of follow-on options. Any suggestions?

#

Re: Line-in problems

Posted by: Anonymous [ip: 4.155.117.176] on October 09, 2007 06:22 AM
If you use KDE, try Multimedia -> Sound -> KMix from the menu. On the Input tab, look for the control marked "Line" and click the red "light" so that it is glowing. That should set the system to capture from the line-in port. The process is similar under GNOME, use the Volume Control application instead of KMix. The interface is slightly different but you should be able to figure it out.

Vance

#

What about more automatic recording

Posted by: Anonymous [ip: 198.144.201.83] on October 29, 2007 03:41 AM
A number of analog ripping tools I have seen elsewhere perform a basic useful function. They stop recording after a long enough period of silence, ie. after the end of the tape or disk, and then strip off that silence from the final file. For people with a lot of tapes or records, automating the process as much as possible is highly desired. We aren't at the "Stick on an album, hit go, and come back to have a series of split ogg/mp3 files with names" level that we could be at, but how close can we get to that?

(Yes, we could be at that. Thanks to databases like cddb/freedb, it's possible based on the ratio of track lengths and a few hints to find out the names of tracks and how long they should be etc. even for pre-CD albums, and there are some tools to help with this, but again nothing fully automatic.)

#

Digitizing records and tapes with Audacity

Posted by: Anonymous [ip: 220.253.83.228] on December 16, 2007 07:36 AM
Please don't use "metho" (99% ehtyl acohol & 1% methyl acohol mix) to clean vinyl as suggested above. it will remove plasticisers and denature the record surface, resulting in embrittled records and poor sound quality. I would suggest a professional quality plush pad and cleaning fluid. The D4 record cleaning system or similar would be very good. (Not an ad, I've used it for about 25 years with excellent results.)

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya