in eleven labs tts, how can i add a time gap betwe...
# ask-ai
b
in eleven labs tts, how can i add a time gap between the words, i have seen this article https://help.elevenlabs.io/hc/en-us/articles/13416374683665-How-can-I-add-pauses but in livekit agents how can i do it?
t
Thanks for reaching out, Mohammed. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To add a time gap between words in LiveKit TTS, you can use the following methods depending on your implementation: 1. Using SSML Break Tags: • Enable SSML parsing in your TTS configuration. • Use the SSML "break" tag in your text to specify pauses. For example: Sources: examples/other/text-to-speech/sync_tts_transcription.py | agents/src/transcription.ts | TextSyncOptions | LiveKit Agents | Deepgram TTS integration guide | LiveKit Docs | Agent speech | LiveKit Docs
b
please provide code where we use session.say and there is this ssml break tag in the beginning
t
b
give thr code
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!