question

KayckLBrito-1307 avatar image
0 Votes"
KayckLBrito-1307 asked YutongTie-MSFT answered

Need to limit the audio time using Azure Text to Speech

Hi,

I want to convert text to audio with time up to 50 seconds. Is there any way to calculate the time before converting? If possible, could the number of characters in relation to speech rate be calculated?

Thanks.

azure-speechazure-text-analytics
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered

Hello,

Based on my understanding, I don't see one in Speech to Text service. I will check this again with product group to see if there any roadmap regarding to this.

One way you can estimate is the average word length is 4.7 characters. Make it up to 5 to give some room for error. the Average person speaks 150 words per minute. So you use about 750 characters per minute of speech. You can figure out the rest of the estimations yourself.

Regards,
Yutong

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.