Getting InvalidSsmlException For Valid SSML (Neural voices only)

0

Here is the SSML in question:

<speak><prosody rate="100%" pitch="-21%">India's massive COVID surge puzzles scientists</prosody></speak>

Not that if I remove the pitch attribute it does not fail. Also, the same SSML works fine for Standard voices. Is there a bug? The same SSML worked fine previously for Neural voices but stopped working at some point recently. Any help is appreciated.

Edited by: bretwilliam on May 2, 2021 10:26 AM

Edited by: bretwilliam on May 2, 2021 10:27 AM

已提問 3 年前檢視次數 693 次
1 個回答
0

Never Mind. I just found this bit in the AWS documentation: "This tag is fully supported by the standard TTS format. The <prosody volume> and <prosody rate> tags are fully supported by NTTS, but the <prosody pitch> tag is not supported."

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南