enough-dentist-75383
11/07/2025, 8:03 AMtall-airline-16756
11/07/2025, 8:03 AMtall-airline-16756
11/07/2025, 8:03 AMTTSStreamAdapter with proper sentence tokenization. This helps generate audio bit by bit, which usually works better.
• Interruptions: If new user input comes in while the bot is speaking, it can stop the current audio by canceling the TTS task. Ensuring the pipeline can handle interruptions smoothly will help avoid this.
Here are some steps you can try to get things working:
1. Double-check that your TTS service is set up correctly and is accessible.
2. Confirm if your chosen TTS model supports streaming and that the TTSStreamAdapter is set up properly.
3. Keep an eye on metrics like Time To First Byte (TTFB) to see when audio starts coming through.
4. Take a look at some implementation examples to ensure your TTS node is configured just right.
If you’re still having trouble after these steps, trying out different TTS providers or reviewing your integration settings might shed some light. Please don’t hesitate to reach out if you want me to help you further—I’m here for you!
Sources: agents/src/voice/agent.ts | livekit-agents/livekit/agents/voice/agent_activity.py | Community & Support | livekit/livekit_composite | DeepWiki | How can I reduce latency in voice agents using STT, TTS and LLM? | pipeline-tts/sarvam.py