Polly cutting files short online?

0

I am trying to TTS a 10 page PDF. It has 30,000 characters:

Enter image description here

However, when I go to the file, it's just 700kb, and is 2 minutes:

Enter image description here

Free tier allows 1,000,000 characters per month, and I'm able to continually make 2 minute MP3s, so I don't know why it's not producing a longer MP3. Could anyone help?

[I changed region to N-California, which affected some features availablity, but I can't see how this would cause this error : ( ]

1 Answer
0

Can you describe the approach you are using to generate the audio, including which Amazon Polly API operations you're using?

If you're using the SynthesizeSpeech operation be aware that it only synthesizes the first 3,000 characters. For longer passages of text you'll want to use Amazon Polly's asynchronous synthesis functionality. Details on how to do this can be found in the "Creating Long Audio Files" section of the Amazon Polly documentation.

Since you mentioned being able to generate 2 minute audio files I'm guessing you may already using the asynchronous synthesis operations, so if you can provide more detail about your code we may be able to help you troubleshoot.

profile picture
Kris
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions