Keep the TTS echo at unity gain so the level drives the repeats

This commit is contained in:
Fisto
2026-09-21 18:29:13 +02:00
parent 63083c54ec
commit 267c31337c
4 changed files with 24 additions and 6 deletions
+7
View File
@@ -40,6 +40,13 @@ mobile draft at 390px.
- [x] C11 preview caching: Discord-hosted image/GIF previews (WebP 320px, hash-addressed, 5 MiB
cap, one attempt) run after every walk in both modes. Live run `...-20260916090722`:
`previewed: 2`; thumbs served over `/api/media/<scrape>/<item>/thumb` (200).
- [x] C73 Echo on the vox voice. `aecho`'s `in_gain`/`out_gain` scale the dry signal
as well as the repeats, so a low echo level quieted the whole line (the classic path's
loudnorm hid it; the streaming path has no measurement, so vox + stream word mode just
went quiet and the echo disappeared). The stage now runs at unity gain and the level
scales the repeats, with a limiter absorbing the summed peaks. Verified with the user's
settings: the no-echo, mild, and strong cases keep the same voice RMS while the echo
tail grows with the delay. Wrapper tests pass.
- [x] C72 Voice processing settings and the speak bypass. The TTS panel gained a **voice
processing** block (echo cancellation, auto gain, noise cancellation, and **off while
speaking**), stored in `preferences.voice` and applied live on save. While a TTS burst plays,