gsdriver / ssml-check-core

Core SDK for ssml-check
MIT License
13 stars 10 forks source link

prosody pitch on Google doesn't support semitones #3

Closed gsdriver closed 5 years ago

gsdriver commented 5 years ago

Describe the bug On Google, the pitch attribute of the prosody tag should support semitones

To Reproduce

<speak>
    <prosody rate="slow" pitch="-1st">Come in!<break time='0.5s'/>Welcome to the terrifying world of the imagination.</prosody>
</speak>

is valid on Google (but not on Amazon)

Expected behavior Per documentation on Google for the pitch attribute of the prosody tag:

Semitones: Increase or decrease pitch by "N" semitones using "+Nst" or "-Nst" respectively. Note that "+/-" and "st" are required.

Environment (please complete the following information):

gsdriver commented 5 years ago

Fixed in version 0.1.3; we now check for semitone format on Google.