|Audacity's Noise Reduction effect can be used to attenuate constant background noise such as tape hiss, electric fans or hums. It will not work very well for removing talking or music in the background. There are two steps:
- 1 How does Audacity's Noise Reduction work?
- 2 Noise Reduction steps
- 3 Other Techniques
How does Audacity's Noise Reduction work?
Audacity's Noise Reduction effect is in essence a multi-band digital noise gate, automatically shaped by the Noise Profile you supply.
In other words it looks at the noise sample, works out what the noise floor is in each of the frequency bands, and uses this as the threshold for a bank of noise gates.
When the audio is processed, it is processed into the same frequency bands, and passed through the noise gates, so if that frequency band has only noise in it, the noise will be blocked. If there is signal in that band (which will also mask the noise from being heard) then the gate opens and the signal (and noise) is let through.
As with all noise filters, Noise Reduction may not always eliminate all the noise without affecting the quality of the rest of the audio. If Audacity's Noise Reduction effect does not work as well as you would like, or if you have no sample of audio that is only noise, go to Other Techniques below.
A more technical explanation of Noise Reduction can be found here.
Noise Reduction steps
Reducing noise is a two-step process: noise profiling followed by noise reduction.
Get Noise Profile
In the first step, you select a portion of your sound which contains all noise and no signal, in other words, select the part that's silent except for the noise. Usually this will be at the start or end of the track, but if the track has no lead-in or lead-out, try zooming in to hit a precise spot between a note or word. You select the part of the track that is just noise by clicking in the track and dragging a selection out with your mouse or with the arrow keys on your keyboard. Then chooseand click button. Audacity learns from this selection what the noise sounds like, so it knows what to filter out later.
The Noise Reduction
Then, select the audio from which you want the noise discarded, which you do by clicking in the track and dragging a selection area with your mouse. You must select a minimum of 2048 samples, or about 0.05 seconds at 44100 Hz sample rate. A longer selection is better as the effect is able to get a more accurate picture of the noise. Duplicating a short section of noise and selecting the original and (possibly several) duplicates will not help.
Note however that you may not necessarily want to apply Noise Reduction to the whole track. This is because most Noise Reduction takes some of the music away with the noise, and adds or exposes artifacts in the recording. If you only have a few spots in the track that need a small amount of Noise Reduction, you may well want to select only those areas to reduce noise from. But if the spots need a greater amount of Noise Reduction, they may once noise is discarded have a rather different "feel" or timbre than the rest of the track, and betray that it has been treated at those points. In this case it may be better to reduce noise from the whole track so that it sounds consistent. To apply Noise Reduction to the entire track, select all of it by clicking in the Track Control Panel where the Mute/Solo buttons are, or if you only have one track on the screen you can use CTRL + A (or (CMND + A on a Mac).or the hotkey
Having selected the length of audio from which you want to reduce noise, chooseagain, but this time, click the radio button and then click on the button. It may take a few seconds or longer depending on how much track you selected.
Bill 06Feb2015: I question the need for the first tip (amplifying the noise sample) now that the algorithm has been fixed. I have no experience with the second tip (duplicate and mix), so if someone thinks that tip is still valid please put it back in the main text.
However if the problem is that too much of the signal (music, voice, etc.) has been eliminated along with the noise, you can also try going back to the selection chosen for the Noise Profile and reducing its amplification (Another possibility is to select and ). Then use this as a new Noise Profile. <p>Sometimes running the filter a second time using a Noise Profile that is a de-amplified section of track can give a good result. the track you want to reduce noise from before applying Noise Reduction, and adjust the relative volume of the two tracks (using the gain slider on the Track Control Panel) so you get the best mix of the original and noise eliminated tracks.</p>
Note that if the nature of the background noise changes significantly during the course of the audio, it will be best to take an individual sample of the changed noise and apply that noise sample to the section of audio affected by that particular noise.
Noise Reduction with Cassettes
Cassettes are slightly different from other sources in that its not uncommon for the noise profile to change through the course of the tape, due to accumulation of dirt on the tape heads, either during play or during record, or both.
To optimise the performance of Audacity's Noise Reduction it is best to use a noise sample near the beginning of the tape rather than the end. Using a sample late in the tape will sometimes cause poorer discrimination between noise and signal, as some of the higher frequency noise will be missing or reduced in amplitude.
No silent noise sample
Audacity's Noise Reduction filter relies on taking a noise sample so that it knows what to eliminate. But sometimes a recording has no noise sample available because there is no passage which is silent except for the background noise. Examples of this could include tape recordings of music radio, or an audio file recorded from a continuous LP track where the lead-in and lead-out have been edited away.
There is an option that often works, although it's far from guaranteed, and sometimes fails. Consequently it's wise to back up the original file first if you are planning to export the result from Audacity so as to overwrite the original file.
The plan is to use a recording made in identical conditions that does contain silence, and use a noise sample from that for reducing noise from the recording with no silence.
This method works very well if the noise in the second recording is identical to the noise in the first. For a cassette source, that means using the same type of tape, same source, same deck and same recording amplitude. In the example of a recording made from an LP, you could try recording a band between tracks (or lead-in or lead-out) on any LP that sounds as if it has the same general level and type of background noise. This will be less likely to give a good result than recreating cassette noise, as the noise source is not identical, but in the case of a noisy recording, it will probably be better than doing nothing.
If the substitute noise sample is not identical, it will still reduce some noise, but will not discriminate between noise and signal well, so noise elimination will be partial.
Suppose you've loaded your audio into Audacity and listened to it, only to be disappointed to find it's contaminated with a continuous, fairly pure tone of some kind. This is a case where you can get good results using a notch filter which you will find underneath the divider in the Effect menu.
Use the Spectral Editing Tools to identify and eliminate continuous tones or transient noises.
A Noise Gate is a type of "audio gate" that is "open" and allows sounds to pass unaltered when the level is above a "threshold" level. When the audio signal is below the threshold level, the gate "closes" and stops, or reduces the signal making it substantially quieter. A Noise Gate does not eliminate noise from a signal but reduces the noise level during the quiet periods between sounds. There are many situations where this can be useful.
- When there is very low level noise that is effectively masked by the recorded material, a Noise Gate can lower the noise level during silent parts of the recording where the low level noise would otherwise be apparent.
- When noise reduction by other methods causes unacceptable degradation of the sound quality, a Noise Gate can reduce the noise level to some extent between sounds without affecting the actual recorded sounds.
- Where there is low level intermittent noise of a similar type to the actual recorded sound (for example, if sound from a distant television or radio is audible during pauses in a speech recording) a Noise Gate can make the pauses more silent.
- A Noise Gate may be used after the Audacity Noise Reduction effect to further reduce the noise level during periods that should be silent.
Nyquist Noise Gate Plugin
The Nyquist Noise Gate plug-in has a number of features and settings that allow it to be both effective and unobtrusive. One of the most critical settings when using a Noise Gate is to set the Threshold carefully. This plug-in provides an analysis tool to assist with setting the threshold level correctly:
- Make a selection that is "noise only" and open the Noise Gate effect.
- and make a note of the suggested threshold level.
- Select a section of the audio track that includes both sound and silence.
- Apply the Noise Gate with the following settings: . Listen carefully to the result to check that the noise is being cut and the audio is still present. This effect will probably sound unnatural as the gate is fully closing and producing absolute silence when closed, but it will allow you to easily hear if the threshold level is set correctly. Click CTRL + Z to undo and if necessary adjust the threshold level and retest.
- When you are happy that the threshold level is correct, raise the "Level reduction" setting to the highest setting that produces an acceptable amount of gating (the default level of -12 dB usually works well).
- When you are happy with the settings, apply to the entire song.
Advanced Tip: By default the Noise Gate will take 1/4 second or 250 milliseconds (ms) to fully open and fully close. In some cases it is desirable to make the gate open faster or more slowly. At the minimum (10 ms) the gate will fully open and close almost instantly as the audio level crosses the threshold. This could cause the gate to 'flutter' or 'snap'. At the maximum (1000 ms) the gate will begin to slowly open (fade-in) 1 second before the sound level exceeds the Threshold, and will gradually close (fade-out) after the sound level drops below the Threshold for a period of 1 second. Longer gate times (up to 10 seconds) may be achieved by typing in the text box instead of using the slider.