Turn Discord mic processing off for TTS playback

This commit is contained in:
Fisto
2026-09-21 18:13:28 +02:00
parent 15901849a1
commit 17d4339ea3
8 changed files with 207 additions and 1 deletions
+6
View File
@@ -55,6 +55,12 @@ Voice audio uses the system audio stack, not Discord internals. The daemon owns
| `veskslop_mic` | remap source of `veskslop_tts.monitor` | The client microphone |
| `veskslop_capture` | null sink | Client output, recorded by the daemon |
Discord's own microphone processing fights a TTS line: **automatic gain control** ramps the volume
up over the first words (so the start is quiet or clipped), and echo/noise cancellation gates the
first syllable. The core reads and turns those gates off (`voice.processing`; MCP
`set_voice_processing`), and every `voice.join` applies it automatically before connecting. Discord
stores these per client, not per account, so a user's own app is unaffected.
The host needs a sound server. On Debian and Ubuntu:
```sh