the volume of my agent sometimes becomes so low yo...
# ask-ai
g
the volume of my agent sometimes becomes so low you can't hear a thing. TTS is eleven labs, what could the issue be? it happens randomly it seems. the computer volume is always 100%.
t
Thanks for reaching out, Laith. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for reaching out about the low volume issue with your Eleven Labs TTS integration. Based on the information available, you can address this by adjusting the volume programmatically in your agent's implementation. Here are two approaches: 1. Add a processor: You can add a processor to the
tts_node
or the
realtime_audio_output_node
in your agent implementation to control the volume. 2. Adjust playback volume: Modify the volume of playback in the frontend SDK. For example, you can implement a method to set the volume level (ranging from 0 to 100) and process audio frames to adjust their volume accordingly. If you need further assistance with the implementation, feel free to let us know! Sources: Agent speech and audio | LiveKit Docs