user10739759
user10739759

Reputation: 21

Does Azure Text to Speech API support <mark> tags?

Does Azure Text to Speech API support tags as part of its support for SSML 1.0? How can I make a call to get the timestamps of marker positions? By default, it just returns the audio file output.

I have searched everywhere, but I was not able to find any endpoint or info on this. Thanks

Upvotes: 2

Views: 1031

Answers (3)

user2346922
user2346922

Reputation: 177

Instead of <mark>, you may use <bookmark>, which seems to have the same usage: Cf the doc: https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-synthesis-markup?tabs=python#bookmark-element

Upvotes: 0

szhaomsft
szhaomsft

Reputation: 11

The <mark> tag is not currently supported.

However, we do support word boundary events now; an example can be found here.

Upvotes: 1

Stanley Gong
Stanley Gong

Reputation: 12153

No, Based on Azure TTS API reference , it just reply an audio file as a response:

enter image description here

If you have custom requirements, maybe separating your sentences into multiple calls would be a workaround.

Upvotes: 0

Related Questions