tts-voice-creator-clone-and.../routes
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
..
__init__.py Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
admin.py Add version number (v1.1.0) and rewrite CHANGELOG to full Keep-a-Changelog spec 2026-05-29 13:53:31 +02:00
conversation.py Show spoken sentence in typing bubble; fix VAD noise sensitivity 2026-05-29 20:50:44 +02:00
docker.py Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
library.py Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
settings.py Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
sources.py Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
stt.py Fix ImportError: _AUDIO_EXTS imported from wrong module in routes/stt.py 2026-05-29 14:57:06 +02:00
tts.py Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00