By using AWS re:Post, you agree to the Terms of Use

Getting InvalidSsmlException For Valid SSML (Neural voices only)


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

asked a year ago16 views
1 Answers

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."

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