tts-voice-creator-clone-and.../static
mARTin-B78 bf458283af Show spoken sentence in typing bubble; fix VAD noise sensitivity
Sentence text in typing bubble:
- Backend sends 'text' field with each audio SSE event (the sentence
  being synthesised)
- Frontend audio queue stores {url, text} pairs
- playNextAudio() writes the sentence text into the '...' typing bubble
  when LLM tokens haven't arrived yet (convCurrentSentenceBubble)
- convCurrentSentenceBubble cleared as soon as first LLM token arrives
  so normal streaming takes over seamlessly

VAD noise fixes:
- VAD_THRESHOLD: 0.01 → 0.02 (background noise no longer counts as speech)
- VAD_MIN_REC_MS: 400 → 800ms (8/10s wait before silence detection starts,
  gives user time to begin speaking without initial noise triggering send)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 20:50:44 +02:00
..
js Show spoken sentence in typing bubble; fix VAD noise sensitivity 2026-05-29 20:50:44 +02:00
sections v1.2.0: VAD, live preview, hands-free mic, restore last section 2026-05-29 18:47:00 +02:00
vendor Add skeleton loading, self-host assets, fix LLM empty response 2026-05-29 17:28:42 +02:00
app.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
index.html Add skeleton loading, self-host assets, fix LLM empty response 2026-05-29 17:28:42 +02:00
loader.js Parallel-load inactive sections alongside JS to cut startup time 2026-05-29 20:21:35 +02:00
nav.js v1.2.0: VAD, live preview, hands-free mic, restore last section 2026-05-29 18:47:00 +02:00
style.css v1.2.0: VAD, live preview, hands-free mic, restore last section 2026-05-29 18:47:00 +02:00