Text to speech - time synchronization

sam husson 1 Reputation point


Im using the Speech Studio>Audio Content Creation tool to produce audio files with ssml. I need to get the audio files synchronized in different languages. In an ssml document with 2 sentences, is there a way to set the starting time of the second sentence, taking as a reference the first sentence?

<media xml:id="test" begin="0.5s">
<speak>This is the first sentence</speak>
<media xml:id="answer" begin="test.end+2.0s">
<speak>This second sentence starts 2 seconds after the begining of the first sentence.</speak>

If this is not possible, is there another option, with neural voices?

Many thanks for help

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,476 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. romungi-MSFT 43,451 Reputation points Microsoft Employee

    @sam husson The tool has an option to break i.e set a time in ms to wait for the next sentence. I tried this out using the text mode with two different voices and it seems to wait until the end of first sentence before pronouncing the second one.


  2. sam husson 1 Reputation point

    yes, exactly, the idea would be to create 2 different audio files, in two different languages. Time synchronization is needed for synchronizing with other contents, such as music or video.
    Again, thanks!

    0 comments No comments