# The audio mixer

Source: https://docs.lightair.app/desktop/audio/mixer

> Add microphones, desktop audio and app audio as tracks, read their meters, set levels with the faders, mute them and listen in headphones.

In short:
- Each sound source is a track with a strip in **Audio Mixer**. Click **+** in the panel's title bar to add a mic, desktop audio or one app.
- Drag a fader to set the level; double-click it to go back to 0 dB. **M** mutes the track everywhere.
- The headphones button sends a track to your headphones without changing what viewers hear.
- The **Master** strip, pinned on the right, is what the stream and the recording's main track carry.

In the app: Window › Audio Mixer; Settings › Audio

The **Audio Mixer** panel sits under the canvas. Every sound in your show reaches viewers through
it: each source is a **track** with its own channel strip, and the tracks meet in the **Master**
strip on the right.

A new workspace starts with two tracks: your default microphone (named **System Default**, with
Voice Clarity on it) and **Desktop audio**.

## Add a track

1. Click **+** in the Audio Mixer's title bar.
2. Under **Sources**, pick what the track hears:

| Choice | What it hears |
|---|---|
| **Audio input** | A microphone or audio interface. Starts on the system's default input, with [Voice Clarity](/desktop/audio/voice-cleanup) on it. |
| **Desktop audio** | Everything the computer plays, except Lightair itself. |
| **App audio** | One app: a game, a music player, a call. Pick the app from the strip's source menu. |

The same menu adds a **Bus** or a **Mix** and opens the mixer **Templates…**: see
[Mixes, buses and recorded tracks](/desktop/audio/mixes-and-tracks).

Some objects bring a track of their own when you add them to a scene: a web page, an NDI source, a
phone camera and a feed from another computer. A camera's Inspector has **Sound in the mixer**,
which adds or removes a strip for its built-in microphone. The [Soundboard](/desktop/audio/soundboard)
adds a **Soundboard** track the first time you add a sound.

On a Mac, desktop and app audio need the **System audio recording** permission, which macOS asks
for the first time either is captured. Microphones need the **Microphone** permission. See
[Permissions](/desktop/get-started/permissions).

## Change what a track hears

The button at the foot of each track's strip shows its source. Click it to pick another:

- **Microphones and interfaces**: **System Default** or any input, listed with its number of
  inputs.
- **Desktop audio**. On Windows, the list also offers **Desktop audio · *output name***: only what
  one output device plays, such as your headphones.
- **App** opens a list of the apps that are running.

The track keeps its name, effects and level when its source changes.

For an audio interface with several inputs, select the track and use the Inspector's **Input**
section: **Device**, then **All** of its channels, one channel (**1**, **2**…) or a pair (**1–2**,
**3–4**…).

## Read a strip

From top to bottom, a track's strip has:

- **The name.** Double-click it to rename the track. The **⌄** beside it opens the strip's menu.
- **The effects list.** A dot switches each effect on or off (bypass), the sliders button opens it
  in the Inspector, and **+** adds one. Drag an effect to reorder the chain, or onto another strip
  to move it there. See [Audio effects and plugins](/desktop/audio/audio-effects).
- **The routing.** Where the track goes (**→ Master**, a bus, or **Sends only**), the **Ø**
  (polarity), **MONO** and **REC** switches, and its sends to mixes.
- **The meter and fader**, with the **PAN** and **TRIM** knobs, the headphones button and **M**.
- **The source**, at the foot.

When the panel is short, the strips fold to fit: first the knobs move beside the buttons, then the
routing goes, then the effects list. With the effects hidden, the header shows **FX** and the number
of effects that are on; click it to open them in the Inspector. Select a strip to see all of its
settings in the Inspector.

## Meters

Each strip has a stereo meter from 0 down to −60 dBFS: green below −20, yellow from −20 to −9 and
red above −9. A thin line holds the recent peak for a moment, and the number above the meter shows
that peak in dB. The number turns red above −1 dBFS: the track is close to clipping.

## Set levels

- **Fader**: drag it to set the track's level after its effects, from −∞ up to +12 dB, in half-dB
  steps. The value shows above it. A tick marks 0 dB (unity); double-click the fader to return to
  it.
- **TRIM**: gain before the effects, from −24 to +24 dB. Drag the knob up or down; double-click to
  reset it.
- **PAN**: from **L100** through **C** to **R100**. Double-click to centre it.

**Reset to 0 dB** in the strip's menu also returns the fader to unity.

## Mute

Click **M** to mute a track. A muted track is silent in the stream, the recording and every mix.
The button turns red while it's muted.

To mute or unmute every microphone at once, set a key for **Mute or unmute microphones** in
**Settings › Shortcuts**. It works while Lightair is in the background.

## Listen in headphones

The headphones button on a strip (or **Listen in headphones** in its menu) plays that track in your
headphones. It doesn't change what viewers hear, so you can check a song before you play it on air.
You can listen to several tracks at once.

Set up where and how you hear them in **Settings › Audio › Listening**:

| Setting | What it does |
|---|---|
| **Headphones** | The output device that **Listen in headphones** plays on. **System Default** at first. |
| **Low-latency headphones** | On at first. Plays straight from the mixer, a few milliseconds behind, so you can sing or play along. |
| **Hear** | **Cued tracks** (the tracks whose headphones button is on), or **The stream**: exactly what viewers hear. |

## Loudness

The Audio Mixer's title bar shows the stream's loudness in LUFS: **S** is short-term (the last 3
seconds) and **I** is integrated, measured since you last reset it. Click the readout to start the
integrated measurement over.

**S** turns green within 2 LU of your target. Pick the target in **Settings › Audio › Loudness**:
**−14 Streaming** (the default: YouTube, Twitch and Spotify even out to about −14 LUFS),
**−16 Podcasts** or **−23 Broadcast**.

## The strip's menu

Click **⌄** on a strip, or right-click it:

- **Mute** or **Unmute**
- **Listen in headphones**
- **Rename…**
- **Colour**: tints the strip's header. **None**, **Red**, **Orange**, **Amber**, **Green**,
  **Teal**, **Blue**, **Indigo**, **Purple**, **Pink** or **Grey**.
- **Reset to 0 dB**
- **Remove track** (or **Remove bus**, **Remove mix**)

Every change in the mixer can be undone.

## The audio engine

**Settings › Audio › Engine** has two settings:

- **Sample rate**: **48 kHz** (the default; suits video) or **44.1 kHz** (matches music files). A
  change takes effect the next time Lightair opens.
- **Buffer**: **128**, **256** (the default) or **512** frames, shown with the delay each adds.
  Smaller means less delay when you hear yourself; larger is lighter on the computer. It changes at
  once, but not while multitrack audio is recording.

## Related

- [Voice cleanup](/desktop/audio/voice-cleanup)
- [Audio effects and plugins](/desktop/audio/audio-effects)
- [Mixes, buses and recorded tracks](/desktop/audio/mixes-and-tracks)
