Sub topic 5
Set up microphone and desktop audio
This chapter covers getting clean, balanced audio into a recording: your voice from a microphone and the sound your computer makes. It assumes you can already create scenes and add sources, and that you know basic audio terms such as sample rate and decibel (dB). Noise suppression and gating are in the next chapter.
How OBS handles audio
OBS treats audio as sources, like video. Each audio source appears in the Audio Mixer dock with a level meter, a fader, and a mute button. The mixer combines all active sources and sends the result to the recording as one or more tracks.
There are two ways to add audio sources:
- Global audio devices are set in Settings > Audio. They are available in every scene automatically.
- Scene-level sources are added with the plus button in the Sources dock. They exist only in the scenes where you add them, unless you reuse the same source in several scenes.
For lessons, global devices are usually enough. The same microphone then stays live when you switch scenes, so your voice does not drop out between layouts.
Choose the sample rate and channels
Open Settings > Audio. Set Sample Rate to 48 kHz. Video uses 48 kHz, and a mismatch with your devices can force resampling and add slight artifacts. Set Channels to Stereo.
Most microphones are mono. They record into one channel, so your voice may play from the left speaker only. Fix this in the mixer settings described later.
Add the microphone
Under Settings > Audio > Global Audio Devices, pick your microphone in Mic/Auxiliary Audio. OBS creates a mixer entry named "Mic/Aux".
If you want the microphone only in certain scenes, leave the global device Disabled. Add an Audio Input Capture source to those scenes and select the device.
Prefer a dedicated USB microphone or headset over a laptop's built-in microphone. Built-in microphones pick up fan noise and keyboard thumps. Position the microphone a hand's width from your mouth, off to one side, to reduce plosives (bursts of air on "p" and "b" sounds).
Capture desktop audio
Desktop audio is whatever your computer plays: video clips, app sounds, or a demo. How you capture it depends on the operating system.
| Platform | Method |
|---|---|
| Windows | Set **Desktop Audio** in Settings > Audio to Default, or add an **Audio Output Capture** source for a specific output device. |
| macOS 13 or later | In a **macOS Screen Capture** source, enable the option to capture audio. |
| macOS before 13 | Install a virtual audio device such as BlackHole, route system output to it, and capture it with Audio Input Capture. |
| Linux | Add an **Audio Output Capture** source for PulseAudio or PipeWire and select the monitor of your output device. |
Capture only what the lesson needs. If you are recording a silent demonstration, disable Desktop Audio so notification sounds cannot leak into the file. Also turn off system notification sounds before you start.
Set levels with the mixer meter
The meter shows level in dB relative to full scale (0 dB is the maximum). The color zones are:
- Green from about -60 to -20 dB: safe but quiet at the top end.
- Yellow from about -20 to -9 dB: the target zone for speech.
- Red from about -9 dB to 0 dB: risk of clipping.
Clipping happens when a signal exceeds 0 dB. The waveform is cut flat, which sounds like harsh distortion and cannot be repaired afterward. Aim for your normal speaking voice to sit in the yellow zone, with loud syllables peaking near -9 dB.
To set the mic level:
- Speak at your normal teaching volume for 20 seconds.
- Watch the meter. If the voice mostly stays in green, raise the gain. If it touches red, lower it.
- Adjust the gain on the operating system or on the microphone itself first, because that improves the signal before it is digitized.
- Use the OBS fader for fine adjustment. Faders can reduce the level or boost it, and a boosted signal also boosts the noise.
Set desktop audio lower than your voice. A good starting point is a peak around -20 to -15 dB, so a sound effect never drowns the narration. Keep both sources balanced when the demo plays sound.
Use Advanced Audio Properties
Right-click any mixer entry (or the gear icon) and choose Advanced Audio Properties. This table lists each column and its use:
| Setting | What it does | Typical lesson use |
|---|---|---|
| Volume | Same as the fader, but numeric | Precise matching between sources |
| Mono | Mixes the source down to one channel sent to both sides | Turn on for a mono mic |
| Balance | Pans the source left or right | Leave centered |
| Sync Offset | Delays the source by a number of milliseconds | Fix lip-sync drift |
| Audio Monitoring | Plays the source through a monitoring device | Hear yourself, or check desktop audio |
| Tracks | Selects which recorded tracks include the source | Separate tracks for editing |
Monitoring
Audio Monitoring has three modes: Monitor Off, Monitor Only (heard in your headphones but not recorded), and Monitor and Output (heard and recorded). Choose the monitoring device in Settings > Audio > Advanced.
Always monitor with headphones. If the monitored microphone plays through speakers, it will be picked up again and cause an echo or feedback loop.
Sync offset
A USB webcam's video often arrives later than a microphone's audio, so the speaker's lips trail the sound. Add a positive sync offset to the microphone, in milliseconds, until the clap of your hands matches the picture. Start with 100 ms and adjust in small steps.
Record separate tracks
By default, every source goes to Track 1, and the recording holds one mixed audio stream. If you later need to lower the music or fix a cough in your voice alone, a single mixed track makes that hard.
Use separate tracks:
- Set Settings > Output > Output Mode to Advanced.
- In the Recording tab, tick several Audio Track boxes, for example 1, 2, and 3.
- In Advanced Audio Properties, assign the mic to tracks 1 and 2, and desktop audio to tracks 1 and 3.
Track 1 stays a complete mix, which plays correctly in any player. Tracks 2 and 3 give your editor isolated voice and system audio. Not every player shows extra tracks, but editors such as DaVinci Resolve and Premiere Pro do.
Check the result with ffprobe, which ships with FFmpeg:
ffprobe -v error -select_streams a -show_entries stream=index,codec_name,channels -of default=noprint_wrappers=1 lesson-01.mkvThe output lists one block per audio stream. If you chose three tracks, expect three blocks. If you see only one, the extra tracks were not selected in the Recording tab.
Mute on demand with hotkeys
Open Settings > Hotkeys and search for your microphone's name. You can bind Mute, Unmute, Push-to-mute, and Push-to-talk keys. Push-to-mute is useful for coughing, since the microphone is muted only while the key is held. Avoid keys that also type text in the application you are demonstrating.
Common problems
- No desktop sound in the recording: the meter does not move. Check the capture method for your platform in the table above and that the correct output device is selected.
- Voice on one side only: enable Mono for the microphone.
- Echo in the recording: you are monitoring through speakers, or the microphone hears your desktop audio. Use headphones.
- Hissing: the gain is too low at the source and the fader is boosting it. Raise the hardware gain and lower the fader.
- Level jumps between lessons: the operating system adjusted the input level automatically. Disable automatic gain control in the system sound settings.
Exercise
Your lesson needs a clean voice track you can edit separately from system sounds, but the recording must still play correctly in a normal media player. How do you configure the tracks, and why?
Show answer
Switch Output Mode to Advanced and tick Audio Tracks 1, 2, and 3 in the Recording tab. In Advanced Audio Properties, assign the microphone to tracks 1 and 2, and desktop audio to tracks 1 and 3. Track 1 holds the full mix, so any player plays it normally. Tracks 2 and 3 hold the isolated voice and system audio for the editor. Confirm with ffprobe that the file has three audio streams.
Exercise
While speaking normally, your microphone meter regularly reaches the red zone. Which should you adjust first, the OBS fader or the microphone's gain, and what happens if you ignore it?
Show answer
Lower the gain at the source (the microphone or the operating system input level) first, then fine-tune with the fader. If you ignore it, loud syllables clip at 0 dB and the distortion is permanent in the recording.