Add voice processing settings and a speak-time bypass

This commit is contained in:
Fisto
2026-09-21 18:23:40 +02:00
parent 17d4339ea3
commit 63083c54ec
10 changed files with 230 additions and 9 deletions
+7 -2
View File
@@ -58,8 +58,13 @@ Voice audio uses the system audio stack, not Discord internals. The daemon owns
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.
`set_voice_processing`, `readOnly: true` to just report). The TTS panel has **voice processing**
checkboxes for the resting state — echo cancellation, auto gain, noise cancellation — plus **off
while speaking**, which turns every gate off for a TTS burst and restores the resting state when
the queue drains. Every `voice.join` applies the resting state after connecting (the core joins
with processing off). Discord stores these per client, not per account, so a user's own app is
unaffected. Krisp noise suppression is not exposed as a checkbox: its getter does not follow the
setter in the current client build, though the preference and API field remain.
The host needs a sound server. On Debian and Ubuntu: