Forum Discussion

Lolazome's avatar
Lolazome
Copper Contributor
Jan 18, 2022

I need help using Azure TTS (how do I avoid pauses?)

Hello, I'm trying to use the Text to speech service by azure and there are multiple ocations when the voice does a sudden and unnecessary break before continuing to speak .

For example: "I will go take (2 second break) this"

I would like it to say : "I will go take this"

This is just an example , not necessarily what happens when i use that sentence.

So how could I make sure this doesn't happen anymore ? Thank you

1 Reply

  • chekwei's avatar
    chekwei
    Copper Contributor

    Use break element with strength="none" from https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-synthesis-markup?tabs=csharp#add-or-remove-a-break-or-pause

     

    <break strength="none" />

     

     

    Try element below if the break element not working, refer Breaks/pauses section in AI - Cognitive Services Blog 

     

    <mstts:ttsbreak strength="none" />

     

Resources