Need to limit the audio time using Azure Text to Speech

Kayck L. Brito 6 Reputation points
2021-08-27T12:31:24.82+00:00

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 AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,064 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
521 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 53,966 Reputation points Moderator
    2021-08-28T19:55:32+00:00

    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

    0 comments No comments

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.