Sub topic 6
Clean up your voice with audio filters
Raw microphone audio usually has three problems: the level is too low, there is background hiss or fan noise, and the loudness varies from sentence to sentence. OBS Studio fixes these with audio filters. A filter is a processing step attached to one audio source. This chapter covers gain, noise suppression, the noise gate, and the compressor and limiter that finish the chain.
This chapter assumes you have already added a microphone source and can read the mixer meters, as covered in the previous chapter on microphone and desktop audio. You should also know that levels are measured in decibels (dB), where 0 dB is the maximum a digital signal can carry.
Where filters live and how they run
Open the filters window by clicking the gear icon next to the microphone in the Audio Mixer and choosing Filters. You can also right-click the source in the Sources list and choose Filters. Audio filters are in the Audio/Video Filters list. Click + and pick a filter type.
Three rules explain most filter behavior:
- Order matters. Filters run from the top of the list to the bottom. Each filter receives the output of the one above it. You can drag filters to reorder them.
- Filters belong to the source, not the scene. If your microphone appears in five scenes, they all share the same filter chain. You set it up once.
- Filters affect the recording. The processed signal is what goes into your recording tracks. You cannot undo a filter after the file is written, so verify your settings before recording a full lesson.
A recommended chain for voice
For a spoken lesson, this order works well in most rooms:
1. Noise Suppression
2. Noise Gate
3. Gain
4. Compressor
5. LimiterThe logic is to remove unwanted sound first, then adjust loudness. If you boost the signal with Gain before suppression, you also boost the noise and give the suppressor a harder job.
Noise Suppression
The Noise Suppression filter reduces steady background noise such as a computer fan, air conditioning, or electrical hiss. It offers different methods:
| Method | Quality | CPU cost | Notes |
|---|---|---|---|
| Speex | Basic | Very low | Has a Suppression Level slider in dB. More negative values remove more noise but make the voice sound thin or watery. |
| RNNoise | Good | Moderate | Uses a trained model to separate voice from noise. It has no slider. The usual best choice on a normal CPU. |
| NVIDIA Noise Removal | Very good | Uses the GPU | Only appears on supported NVIDIA RTX cards with the right components installed. |
Start with RNNoise. Use Speex only if your CPU is already near its limit while recording, since your encoder also needs processing time.
Suppression works best on steady noise. It handles a humming fan well. It handles a barking dog or a slamming door poorly, because those sounds are sudden and irregular. The best fix for those is a quieter room, not a filter.
Noise Gate
A noise gate is a filter that mutes the source when the signal drops below a level. It is useful for the silence between sentences, where faint room noise would otherwise be audible. It does nothing to noise that happens while you speak, because the gate is open then.
The gate has five settings:
- Close Threshold: the level in dB below which the gate closes. The default is -32 dB.
- Open Threshold: the level above which the gate opens. The default is -26 dB. It is higher than the close threshold on purpose, so the gate does not flutter open and shut near the edge.
- Attack Time: how fast the gate opens, in milliseconds. The default is 25 ms.
- Hold Time: how long the gate stays open after the signal drops below the close threshold. The default is 200 ms.
- Release Time: how fast the gate fades closed. The default is 150 ms.
To set the thresholds for your own room, watch the mixer meter, not the default numbers:
- Stay silent for five seconds and note the highest level the meter reaches. That is your room noise, for example -50 dB.
- Speak normally and note the quietest syllables you want to keep, for example -38 dB.
- Set the close threshold a few dB above the room noise and the open threshold a few dB above the close threshold, both well below your quietest syllables.
If the start of your words is clipped, lower the open threshold or shorten the attack time. If the ends of words are chopped off, raise the hold time.
Gain
The Gain filter adds or subtracts a fixed number of decibels. Use it to bring a quiet microphone up to a useful level. The range is wide, but most setups need between 0 and +15 dB.
Speak at your normal lesson volume and watch the meter. Aim for your normal speech to peak in the upper part of the yellow zone, around -12 to -6 dB. The mixer shows green for quiet, yellow for the middle range, and red close to 0 dB. If you hit red, the signal is close to clipping.
Clipping is distortion that happens when a signal goes past 0 dB. It cannot be repaired in editing, so leave headroom. A level that is a bit too quiet is always safer than one that is a bit too loud. A quiet recording can be normalized later, but a clipped recording stays damaged.
Before adding gain in OBS, check your operating system's input level and your microphone's own gain knob if it has one. Raising gain at the hardware stage usually gives a cleaner result than boosting it digitally, because digital gain also amplifies noise already in the signal.
Compressor
The Compressor filter reduces the difference between loud and quiet parts of your voice. When you speak softly and then laugh or emphasize a word, the loud part gets turned down. Learners then do not need to adjust their volume during the lesson.
Its main settings are:
- Ratio: how strongly signals above the threshold are reduced. A ratio of 4:1 means that for every 4 dB above the threshold, only 1 dB comes out. The default is 10:1, which is heavy for speech. Try 3:1 to 4:1.
- Threshold: the level where compression starts. The default is -18 dB.
- Attack: how quickly the compressor reacts. The default is 6 ms.
- Release: how quickly it lets go. The default is 60 ms.
- Output Gain: a boost applied after compression, to make up for the lost volume.
Compress gently. If your voice sounds flat or you can hear background noise rise between words, the ratio is too high or the threshold too low.
Limiter
The Limiter is a safety net. It stops the signal from going above a ceiling you choose. Add it last in the chain with a threshold around -6 dB and the default release of 60 ms. If you laugh or knock the desk, the limiter catches the peak before it clips. It should rarely act during normal speech. If the meter shows constant limiting, reduce your gain instead.
Test before you record
Do a short test recording each session, or each time you change the room, microphone, or position:
- Set the monitoring option in Advanced Audio Properties to Monitor and Output for the microphone, and wear headphones. Without headphones, the microphone picks up the speakers and produces feedback.
- Toggle each filter on and off with its eye icon while you speak, and listen to what each one changes.
- Record thirty seconds that includes silence, normal speech, and a loud word.
- Play the file back and check for clipping, clipped word starts, and hiss.
- Set monitoring back to Monitor Off afterward, so you do not hear a delayed copy of your voice while you record.
Common mistakes
- Putting Gain before Noise Suppression. This raises noise before it is removed. Keep suppression first.
- Setting the gate by the default numbers. The defaults suit an average room. Your room is not average, so measure it.
- Using filters to fix a bad recording setup. Moving the microphone closer, to about a hand's width from your mouth, improves quality more than any filter.
- Heavy compression and heavy suppression together. Each one removes natural detail. Stacking strong settings produces a robotic voice.
- Adding filters to desktop audio by habit. Desktop audio rarely needs noise suppression. Filters there only cost CPU.
Exercise
Your recording has a steady fan hum, and your quiet words are hard to hear. In which order should you place Noise Suppression and Gain, and why?
Show answer
Place Noise Suppression first, then Gain. Filters run top to bottom, so suppression removes the hum before gain amplifies the signal. If Gain came first, the hum would be boosted along with your voice, and the suppressor would have to work on a louder noise.
Exercise
A noise gate has a close threshold of -32 dB and your room noise peaks at -50 dB, but the ends of your sentences are cut off. Which setting do you change first, and in which direction?
Show answer
Increase the Hold Time. The hold time keeps the gate open after the signal falls below the close threshold, so trailing syllables are not chopped off. Lowering the close threshold slightly also helps, as long as it stays above the -50 dB room noise.
Exercise
Your speech peaks at -3 dB on the meter and occasionally touches red. What are two ways to prevent clipping?
Show answer
Reduce the gain, either in the Gain filter or at the operating system or hardware level, so normal speech peaks around -12 to -6 dB. You can also add a Limiter at the end of the chain with a threshold near -6 dB to catch the occasional peak.