How to customize silence time between sentence groups in Azure Text to Speech

Srikant Mishra 20 Reputation points
2023-03-28T17:55:53.16+00:00

I am trying to reduce the gap between two sentence groups in Text to Speech in Azure console. The gap between sentences can be reduced by specifying sentenceboundarysilence i.e. sentenceboundarysilence="5ms", but I don't know how to customize silence between sentence groups(as shown in below image). Basically, I want to specify the duration between the first sentence group (ending with "best game ever") and the second sentence group (starting with "Reason number one")

Skyrim

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,854 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,040 questions
{count} votes

Accepted answer
  1. ThioJoe 95 Reputation points
    2023-03-30T13:45:38.3966667+00:00

    Have you tried using the "break" tag? https://learn.microsoft.com/en-us/azure/cognitive-services/Speech-Service/speech-synthesis-markup-structure#add-a-break

    Like it says in the "Add Silence" section:

    One of the differences between mstts:silence and break is that a break element can be inserted anywhere in the text. Silence only works at the beginning or end of input text or at the boundary of two adjacent sentences.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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