tts-voice-creator-clone-and.../static/js
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
..
ai-backends.js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
benchmark.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
conversation.js Show spoken sentence in typing bubble; fix VAD noise sensitivity 2026-05-29 20:50:44 +02:00
engines.js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
generation.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
init.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
integrations.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
routing.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
settings.js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
stt.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
tts-preview.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
utils.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-clone.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-inspector.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-library.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-sources.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00