wrapper: leading low hum to prime Discord (configurable MS/HZ/DB)

This commit is contained in:
Fisto
2026-09-16 13:21:41 +02:00
parent f9f1c454d5
commit 1f77dfba64
4 changed files with 47 additions and 1 deletions
+5
View File
@@ -66,6 +66,11 @@ without them.
silence is retained, so it shapes silence, not speech. Measured head: first sample
>30 at 22.6 ms, speech (>500) at 29.6 ms, natural ~15 ms attack; tail decays over
~18 ms. No click, no attenuation of the first word.
- Leading hum (default on): 80 ms of 75 Hz at -48 dBFS peak before the engine padding,
to prime Discord's pipeline. Verified 75.0 Hz / -48.0 dBFS, speech onset ~110 ms,
final -18.6 LUFS / -3.0 dBFS, apply pass +~10 ms. `VESKSLOP_TTS_HUM_MS=0` disables and
reproduces the previous output byte-for-byte. Tuning: `_HUM_HZ` (30-200), `_HUM_DB`
(-80..-6; raise toward -36 if a client still gates the start).
## SAPI4 runtime engine discovery (`speech.dll`)