How to solve the problem that the audio file output by Azure AI Speech Service is limited to 10 minutes

e e 0 Reputation points
2023-07-27T06:28:14.5+00:00

Error details: The processed audio has exceeded the configured maximum media duration of 600000ms

If I don't want to cut the file, is there another setting to solve this problem?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,897 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,521 Reputation points Microsoft Employee
    2023-07-27T17:29:14.2433333+00:00

    @e e 10 minutes is the maximum amount of audio length that can be produced by a request. See the limits on this page.

    You will have to move to batch synthesis API to have audio files produced for more than 10 minutes if the text is too large. Also, you will have to use the standard tier of pricing to use this feature.

    As a workaround, you can use your text in parts to create multiple audio files and then stich them together, but this will require some pre and post processing on the client side and you might run out of character limit under the free tier.

    I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    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.