A community member has associated this post with a similar question:
How to add break times is Azure SSML

Only moderators can edit this content.

ssml how to add breaks without dedicating whole voice tag for and keep durations

Jakub Chudiak 0 Reputation points
2024-07-31T12:00:56.1933333+00:00

how can add breaks without having separated voice tag for it so i dont exceed 50 voice tag limit. this solution doesnt work:

<?xml version="1.0" encoding="UTF-8"?>
<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd" version="1.0" xml:lang="en-EN">
    <voice name="en-GB-RyanNeural">
        <break time="1230ms"/>
        <mstts:audioduration value="2440ms"/>This is a jammy Margarita.
        <break time="1850ms"/>
        <mstts:audioduration value="4600ms"/>Let me show you a little secret ingredient. 2 teaspoons of your favourite jam.
        <break time="4790ms"/>
    </voice>
</speak>


Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,772 questions
{count} votes