This guide explains how to integrate and control multiple voices from elevenlabs in your BotTalk articles using SSML voice tags. The functionality is particularly useful for creating more dynamic, int
Step 1: Activate SSML Tag Support in Audio Rules
To begin using different voices, you must first enable SSML tags in your BotTalk project settings.
Go to your Test Project.
Navigate to Audio Rules.
Enable the option that allows SSML when the article label is set to "interview".
πΈ Refer to the image below for the correct setting toggle.
Step 2: Label the Article
To activate SSML usage in a specific article:
Open the article in the BotTalk editor.
Add the label interview.
This tells the system to interpret SSML tags, including <voice>, in the article content.
πΈ See the image below on where to add the label.
Of course you can use our API to give labels programmatically.
Step 3: Insert SSML Voice Tags
With the article labeled and SSML enabled, you can now add voice-specific tags within your article content:
Each <voice> tag allows you to:
Specify a voice using the name attribute.
Adjust volume using the optional vol attribute, which accepts numerical values (positive = louder, negative = softer).
<voice name="de-DE-MatildaXI" vol="-10">
This is the voice number one
</voice>
<voice name="de-DE-RobXI" vol="40">
And this is the voice number two
</voice>