Share via

Speech Studio "Text to Speech" not respecting <break> markup

Roy Jensen 45 Reputation points
2024-06-05T17:33:51.8066667+00:00

The text to speech renderer fails to apply the "break" markup in the Audio Content Creation interface of the Speech Studio. I haven't tried other markup.

Yesterday, it didn't work with RyanMultinationalNeural, but worked with AndrewNeural. Now it doesn't work with either.

<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" version="1.0" xml:lang="en-US"><voice name="en-US-AndrewNeural">

<break time="2s" />

<p>Hello everyone. My nam0e is John Doe.</p>

<break time="2s" />

<p>I’m a security professional working in the security industry since 1990. I started my career at the Bay in loss prevention and investigations.</p>

<break time="2s" />

<p>I obtained a degree in Security Risk Management from the University of Portsmouth in 2017. </p>

<break time="3s" />

</voice></speak>

Azure AI Speech
Azure AI Speech

An Azure service that integrates speech processing into apps and services.


3 answers

Sort by: Most helpful
  1. Data Juggler 181 Reputation points
    2026-03-28T14:31:09.28+00:00

    My issue is with the latest Dragon voices. The pause works on the old voices, but the new Dragon voices do not pause.

    0 comments No comments

  2. Roy Jensen 45 Reputation points
    2024-06-17T01:33:25.7233333+00:00

    Exceedingly frustrated that Microsoft broke their code and won't fix it.

    Workaround: put a period after the break tag:

    <break time="2s" />.
    
    
    0 comments No comments

  3. Roy Jensen 45 Reputation points
    2024-06-17T01:32:27.44+00:00

    Exceedingly frustrated that Microsoft broke their code and won't fix it.

    Workaround: put a period after the break tag.

    <break time="2s" />.
    
    
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.