Multilingual Voice Bot
Switching Voices
Guide to trying out and switching voices for your voice bot.
In this guide, we’ll explore how to experiment with different voices online and implement voice switching in your voice bot. We’ll cover two popular text-to-speech (TTS) services: ElevenLabs and Cartesia TTS.
ElevenLabs
ElevenLabs offers a wide range of high-quality voices that you can try out and customize.
Trying Out Voices Online
- Visit the ElevenLabs Voice Library.
- Browse through the available voices or use the search function to find specific types of voices.
- Click on a voice to hear a sample.
- Copy the voice ID, which you’ll need for the next step.
Switching Voices in voice_bot.py
To switch voices in your voice bot, you’ll need to modify the voice_id
parameter when initializing the ElevenLabsTTS
node. Here’s how to do it:
Was this page helpful?