Image: reddit.com · Made a thing: Discord voice ducking for Linux (CachyOS tested)
Discord voice ducking for Linux built with Claude Code
Discord's attenuation setting is missing on Linux, so Claude Code helped build a PipeWire and EasyEffects setup that lowers music while friends talk.
Credits
- Reddit poster LogCaptain Source ↗
- Repository account K-Sugar Source ↗
Earliest dated source:
The full story
Discord on Linux lacks the "Attenuation" setting that turns down your game or music while someone is talking, so the poster built it with Claude Code. Discord plays into a null sink whose monitor drives the sidechain of an EasyEffects compressor; everything except Discord runs through that compressor, so Discord can't duck itself. No device names are hardcoded, so it follows your default output when you switch headphones.
The compressor threshold turned out not to be portable: references suggested -30 dB but the poster's real speech peaked at -34.8 dBFS, so it barely triggered. A measure command now reads your actual levels during a call. Tested on CachyOS; the poster says they went through the scripts themselves but isn't a professional developer.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Made a thing: Discord voice ducking for Linux (CachyOS tested)Reddit poster: LogCaptainPosted
The maker's post on r/ClaudeCode.
If it disappears: archived copy of Reddit: Made a thing: Discord voice ducking for Linux (CachyOS tested) (opens in a new tab)
- The code: github.comRepository account: K-Sugar
The project on GitHub.