Downloaded files from Polly are cut off/incomplete

0

Hi, I have been using Polly to generate some small mp3 files. Most of them are working fine, but there are a few that I am having difficulties with and I don't understand why. When I listen to the audio in the Console, it sounds fine; however, when I download the file, the last few words are cut off. The files where this problem occurs are small. For example, one has only 651 characters. The output is approximately 26 seconds, and then cuts off in mid-word, when there are only two or three words left.

I have tried saving this to S3 instead of downloading, but the result was the same.

Can anyone help me understand the cause of this, and how to fix it?

Thanks!

  • would you be able to provide region, voice, engine and an example text that is affected (if it can be shared publicly)? Did you try to use AWS SDK to perform the synthesis? If so, did you see the issue happening for the SDK as well?

    You can also report issues with Console through Feedback feature of AWS Console

asked a year ago279 views
1 Answer
1
Accepted Answer

Hallo, I've been using Polly for a few years and I've often had this issue. I don't know the technical reason, but you can switch to the SSML side of the console, type the sentence you want to download, and add the tag <break time="1s"/> at the end of the sentence, before the closing tag </speak>. This allows you to download the full sentence, at least it has always worked for me. Example:

<speak> your short line. <break time="1s"/></speak>

LBajard
answered a year 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