Turn the music down under your alerts in OBS
Audio · 6 min read ·
Use OBS's Compressor filter so your music drops on stream whenever an alert, clip or TTS line plays, with no Spotify calls. Step by step, plus how it compares to Roadie turning Spotify down.
When an alert plays over loud music, viewers miss what it says. OBS can fix that on its own: a Compressor filter on your music turns it down whenever your alerts make a sound, and brings it back when they stop. This is often called ducking.
When you are done:
- On stream, the music drops while an alert, clip or TTS line plays, then comes back.
- It costs nothing from Spotify. OBS does it inside your stream mix, so Spotify never hears about it.
- You still hear the music at full volume. The filter changes what OBS sends to Twitch. The Spotify app still plays straight to your speakers or headphones. See What you hear yourself.
It takes about 10 minutes. Do it once; it stays set.
OBS or Roadie: which to use
Roadie can also turn your music down under alerts: Stage › settings › Turn Spotify down during alerts and clips. The two work differently.
| OBS's Compressor (this guide) | Roadie turning Spotify down | |
|---|---|---|
| What moves | The music in your stream mix | The Spotify app's own volume slider |
| You hear it too | No, only viewers | Yes |
| Spotify calls | None | A few for each run of alerts |
| Works with any music app | Yes, anything OBS captures | Spotify only |
| Pauses for a long run | No, only turns down | Yes, when you switch it on |
Pick one. With both on, the music drops twice on stream. If you use this guide, switch Roadie's off on your Stage.
A note on Spotify's limit. Every time Roadie turns Spotify down and back up, it uses calls from your own Spotify app. Spotify does not say how many it allows. A lot of alerts close together, such as a raid or a gift bomb, can reach that limit. Spotify then refuses calls for a while, and the music can stay turned down until you move Spotify's volume yourself. OBS's Compressor has no such limit.
Before you start
- Your music is its own source in OBS. You need a row for your music in the Audio Mixer, separate from Desktop Audio. If you do not have one, do Part 1 and Part 2 of Keep Spotify out of your VODs, then come back.
- Your alerts are their own source too. This is what OBS listens to. For Roadie, that is your Stage browser source. Double-click it in Sources and make sure Control audio via OBS is ticked. It then has its own row in the Audio Mixer. Alerts from another tool work the same way: tick Control audio via OBS on their browser source.
- Check that the alert row moves. Send a test alert. Its row in the Audio Mixer should move while it plays. If it does not, the filter has nothing to listen to.
Got alerts in more than one source? Pick the one that plays most of them. A filter listens to one source.
Part 1 — Add the Compressor to your music
- In the Audio Mixer, find your music's row (for example Spotify).
- Click its ⋮ button and choose Filters.
- In the Filters window, click + at the bottom left and choose Compressor.
- Name it
Duck under alertsand click OK.
Part 2 — Set it to listen to your alerts
Set each box in the Compressor, top to bottom. These numbers are a good start; Part 3 shows how to adjust them.
| Setting | Set it to | What it does |
|---|---|---|
| Ratio | 10:1 | How hard the music is turned down |
| Threshold | -30 dB | How loud an alert must be to start it |
| Attack | 100 ms | How fast the music goes down |
| Release | 800 ms | How slowly the music comes back up |
| Output Gain | 0 dB | Leave it at 0 |
| Sidechain/Ducking Source | your alerts' source | What it listens to, for example your Stage |
Close the Filters window. OBS saves as you go; there is no Save button.
The important box is Sidechain/Ducking Source. Without it, the Compressor listens to the music itself and only evens out its own loud parts.
Part 3 — Test it and adjust
- Play a song.
- Send a test alert, and watch your music's row in the Audio Mixer. It should drop while the alert plays and come back after.
- To hear what viewers hear, make a short local recording (Start Recording, then Stop Recording) and play it back. Your speakers alone will not tell you, because the Spotify app plays them directly.
Then adjust to taste:
- The music still drowns out the alert: raise Ratio (up to
20:1) or lower Threshold (to-40 dB). - The music goes almost silent: lower Ratio (to
4:1). - Quiet parts of an alert don't turn it down: lower Threshold.
- The drop sounds like a cut: raise Attack (to
200 ms). - The music jumps back up between words: raise Release (to
1000 ms, the most OBS allows).
What you hear yourself
The Compressor sits inside OBS, so it only changes what OBS sends to Twitch and to your recordings. The Spotify app plays straight to your speakers or headphones at full volume. That means:
- Viewers hear the music drop. You don't. This is normal, and most streamers live with it.
- Want to hear it drop too? Use Roadie's Turn Spotify down during alerts and clips instead, which moves Spotify's own volume. Switch the Compressor off (the eye next to it in Filters) so the music does not drop twice on stream.
If something is off
- Your alerts' source is not in the Sidechain/Ducking Source list. Its Control audio via OBS box is not ticked (Before you start, item 2).
- Nothing happens when an alert plays. Check that the alert row in the Audio Mixer moves (Before you start, item 3). If it does, lower Threshold.
- The music drops when nothing is playing. The sidechain source is something that is always making sound, such as your mic or Desktop Audio. Pick your alerts' source.
- The music drops twice as far as you expect. Roadie's turn-down is on too. Switch one off.
- Your mic also drops the music. The sidechain is listening to your mic. Pick your alerts' source instead.
Upstream instructions and version differences
Written for OBS Studio 30 on Windows. The Compressor filter and its Sidechain/Ducking Source have been in OBS since version 23, on every operating system. Labels can differ in later versions.