thorsten-gehrig/alexa-remote-control

ssml

Closed this issue · 5 comments

It looks like my email client or something is stripping out the XML tags of SSML

Try this, I have replaced '<' with '!'

!speak>
Mary had a little lamb !break time="3s"/>Whose fleece was white as snow.
!/speak>

To clarify, I want the -e speak command to interpret SSML,
See the followink link
https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html

adn77 commented

Sorry I should've put my comment in code:

alexa_remote_control.sh -e speak:"<speak><voice name='Hans'>Hallo ich bin Hans</voice><audio src='soundbank://soundlibrary/musical/amzn_sfx_trumpet_bugle_03'/> und ich bin Alexa</speak>"

I tried your command, and alexa said
"sorry i am having a problem accessing your simon says skill right now"
Any ideas?
I am using 'alexa-remote-plain.sh'

just to verify. your command works on your system?
I tried to enable simon says skill, but i did noy know which one?

adn77 commented

I had the exact error before at some point. It basically means the syntax is wrong - no need to install any skill.

Are you using the latest version of alexa_remote_control? Which OS?
I am on German locale (de-DE) using amazon.de. Try switching the voices according to your locale.

adn77 commented

Sorry, I didn't read your message properly :(
The plain version is no longer supported as it is really hard to do JSON processing without JQ.

The above line was tested with the full version.