Master your MP3s with Audacity

By Jessica Dolcourt on 31 January 2007

With professional music software selling for hundreds of dollars, finding a comparable freeware program saves big bucks. Audacity is an open-source audio editor that offers impressive features at no cost. Once you've learned the basics of fading and trimming, you'll be able to master MP3 files for Web publishing, mobile phone ring tones, and podcasts.

If you haven't yet, download the suite of Windows plug-ins from the Linux Audio Developer's Simple Plugin API (LADSPA). When using plug-ins, remember to select the section of track you wish to affect before opening the tool. Also, if you're planning to make ring tones, check out the special tips at the end of this article.

If your meter shows your
levels dipping into the red,
you'll experience clipping.

Step 1: Adjust the gain
One main goal of mastering audio tracks is the elimination of clipping, the buzzy distortion that occurs when signals grow too loud. With Audacity, you can see if your track is clipping by watching the green bars in the Meter toolbar. If they bounce into red while the track plays, you've got a problem. To nix the clipping, you'll need to keep the output level below 0 decibels (dB), which is the loudest volume you can attain without losing quality.

The most obvious fix is to reduce the track's gain, or volume. Unfortunately, Audacity doesn't reset its red clipping indicators until you stop and replay the track, so you'll need to adjust the sound by trial and error. Note that if your track exceeds 0 dB in its original recording, you'll never be completely free of the distortion.


Experiment with the compressor
tool to find a decibel threshold that
gives your track a polished sound.

Step 2: Compress your tracks
Reducing the volume of an audio track will curb its clipping, but if you stop there, your might lose presence and force. Counter with compression. The Compressor tool (in the Effects menu) will automatically attenuate the track's volume, dramatically diminishing the gain after it reaches a specified level. It's not a hard cap -- the volume can still surpass your dB setting -- but tapering the sound produces a more natural, polished finish than abruptly cutting the track.

Like adjusting the gain, the Compressor may require several tries until you find a sweet spot. As a general guideline, slide the threshold between -10 to -16 dB. If you set it too low (e.g., -18) then you sacrifice definition. Set it too high (e.g., -8) and your sonic information will sprawl rather than coalesce.

After setting the threshold, experiment with the compression ratio to determine the factor of attenuation. The higher the compression ratio, the less your track will rise above the threshold.

Next, set the attack time. If you want the whole signal to compress immediately, select 0. Set the slider in the opposite direction, toward 1, for a softer attack that compresses the track after pausing a few moments. After each change to the compression tool, be prepared to wait about 15 seconds on a midrange PC for Audacity to apply the modifications.


Lowering the volume on the left
of the equaliser will tone down the bass.

Step 3: Equalise!
Equalising can selectively increase or lower gain for any specific frequency, not just those that pass a given decibel threshold. By controlling and blending the frequencies between multiple tracks, you can tailor conflicting bass lines, or let a specific section of a track shine.

Select "Equalisation" from the Effects menu, and you'll notice a horizontal line that keeps a steady 0 dB across all frequencies. Using the mouse, you'll be able to click a series of points along the scale to create a curve that associates volume -- measured in decibels -- with high, mid, and bass frequencies, measured in hertz (Hz). On the equaliser, low volume falls below the 0 line, and high volume rises above it. Low frequency lies between 30 to 100Hz, while high frequency ranges from 1,000 to 10,000Hz.

Clicking and dragging to curve the decibels below 0 dB on the vertical Y-axis and between 30-100 Hz on the horizontal X-axis will silence the bass line of that track, and allow the bass of another track to dominate.


Set your dB limit down to
-1 for ringtones.

Step 4: Setting hard limits
While compression affects sound that rises above a certain level, limiting keeps your signal from crossing any given amplitude. In other words, limiting is the hard cap to compression's soft ceiling.

In the Effects menu, select "Hard limiter" from the LAPSDA plug-in package. "Wet" and "dry" refer to the strength of an effect, with 1 being full effect and 0 representing no effect. In most cases, you'll probably want to keep the dB at 0 and the wetness at 1, a setting that means any signal spiking above 0 dB will be completely attenuated back down to 0. In other words, the signal is restricted. For example, if you were to set compression to -12 and a hard limit at 0, Audacity will taper your spikes after surpassing the -12 mark, and will shave any peaks over 0.

If you're making a ringtone, you'll want to lower the hard limit, starting with -1 dB.


Think of the envelope as
the body of a track, and
the handles as volume curves.

Step 5: Create an envelope
So far, our steps have been useful for editing individual tracks to mix them with others. The Envelope tool is a handy shortcut for mastering a prerecorded MP3 that's free of encryption or Digital Rights Management technology (DRM). After you compress the MP3, you can use the Envelope button (the inverted triangles with the horizontal blue line between them, located in the top left toolbar) to differentiate the gain in various sections of the song. Clicking the newly-created envelope creates handles, or "control points" that you can then drag to raise or lower the volume between nodes. You can create as many control points as you'd like for maximum volume flexibility.


The "Split stereo track" feature
reduces your output from default
stereo to a single channel.

Step 6: Export your finished product
Once you've learned how to master a song or track, your MP3 file is ready to feature in a podcast or personal Web site, like your MySpace page, for example. First, install the open source MP3 encoder LAME. In Preferences, set the bit rate to 80kbps or 96kbps for spoken word, 32kbps if you're making a ring tone (more on this later,) or 128kbps for a music file. If you've got bandwidth to kill, a 160kbps or 192kbps bit rate is closer to CD quality, but your sound won't suffer at 128 kbps and will be faster to load. In the File menu, choose "Export as an MP3."

Making ringtones has its own set of rules, since most phones won't support high-quality tunes. Trim your clip carefully; you'll probably want it to last a minimum of 5 seconds and a maximum of 20 seconds before the tone loops. Most phones will automatically loop your ringtone file, which you can hear by selecting a range in Audacity and simultaneously pressing Shift and clicking Play.

Click the "Project rate" option on the bottom left bar of the Audacity screen, and set it to 11Hz. Depending on your phone, you may want to hike this up. However, a higher frequency will mean a larger file size. Compress the track as in Step 2, but when you equalise the tracks, you'll want to remove the bass completely (slide the bar to -24 dB on the Y-axis) from 30-300Hz (on the X-axis), as your phone's speaker cannot produce these frequencies. Since your phone is more sensitive to peaks, lower the limit to -3 dB rather than to 0 dB as you would if you were exporting your MP3 for your Web site. Following instructions from Step 4, open the Hard Limiter plug-in and set the limit to -3 dB.

Now you'll want to reduce your output from default stereo to a single channel. In Audacity, you can do this by selecting "Split stereo track" from the drop-down menu on the track title. Cancelling out the bottom track will delete it, leaving you with a mono output. In Preferences, set your bit rate to 32kbps (or higher if your phone supports it and you have enough free space). Before exporting the MP3, you'll need to confirm the frequency that your phone will accept and adjust the project rate accordingly.

Special thanks to Matt Stone for expert assistance.

Topics: audacity, audio, freeware, mp3, music, track, you'll, volume, frequency, equalise

Related Articles

Comments (19)

  • scootrnc commented on 27/06/2009 07:17 Report abuse

    ooops...that's LAME v3.98.2 for Audacity on OSX.pkg

  • scootrnc commented on 27/06/2009 07:16 Report abuse

    Downloaded v3.98.2 for Audacity on OSX.pkg for Mac )S 10.5.7. Tried to convert M4A to MP3, by exporting to a folder, but all I get is a 1-second "roar" and no music. What am I doing wrong?

  • Ray commented on 19/06/2009 04:22 Report abuse

    Trisha, All you need is a cable to go from the headphone jack on your cassette player to the input jack on your computer. You can by them at any Radio Shack or Best Buy. I think it is a 5mm to 5mm cable if I remember right. Set audacity to record from Line In. Just save the tracks as mp3's and burn to CD with a program of your choice. I've converted all my old cassettes over and it is a great thing.

  • Trisha commented on 04/03/2009 11:46 Report abuse

    Can I use audacity to convert audio taped tracks to CD to use on a CD walkman or other CD player. What hard ware do I need to do this?

  • sanddaug commented on 04/03/2009 07:28 Report abuse

    oops,(referring to the previous post) I'm trying to use audacity to make a ring tone....if you can help...thanks

  • sanddaug commented on 04/03/2009 03:22 Report abuse

    I just get noise when i try to play a song that i copied over....i've converted it to mp3 but still no song...just an irritating scratching noise... please advise

  • Jay Jay1 commented on 25/01/2009 02:46 Report abuse

    I've mixed and mastered entire songs in audacity. I put them on the market & they sell, no1 notices a bad thing. It's awesome!

  • jimmy commented on 17/01/2009 00:01 Report abuse

    this rocks

  • Robert commented on 01/09/2008 09:10 Report abuse

    Does anyone know if Audacity will allow me to modify the bpm of songs I have purchased online so I can combine them for a consistent bpm cardio workout?

  • rakesh352 commented on 08/03/2008 23:21 Report abuse

    NICE

Post your own comment

Submit

Enter your personal information to the left, or sign in with your Facebook account by clicking the button below.

Connect

Must read