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

질문됨 일 년 전309회 조회
1개 답변
1
수락된 답변

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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠