I am making a simple joke application using AWS lambda and python. Following the space facts tutorial. In certain returned strings alexa will just ignore all voice tags. But it won't ignore other tags.
<voice name="Brian"><lang xml:lang="en-GB"> something to say. </lang></voice> I can add other effects such as whispered, within the tags above and it will work. But sometimes the voice change tags are ignored. Eventhough the returned strings are identical. What could be the issue?
For example:"ssml":
"<speak>I hope you like these blonde jokes: <break time=\".4s\"/> So a blonde walks into a bar. And she says: <voice name=\"Salli\"><lang xml:lang=\"en-US\"> I’ll take 21 beers. </lang></voice> <voice name=\"Brian\"><lang xml:lang=\"en-GB\"> Ok! but why 21? </lang></voice> <voice name=\"Salli\"><lang xml:lang=\"en-US\"> More talking </lang></voice> ....... </speak>
Either all voice tags work, or none do per execution. Could this be a bug within Alexa? The tags are added via a formatted string. They always look exactly the same.