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

質問済み 1年前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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ