I'm building an exercise skill for Alexa in Python 2.7. I want Alexa to start a 10 second timer and say "Exercise". Once the 10 seconds is over Alexa should say "Stop".
I have tried doing this using the break SSML tag:
<speak>Exercise! <break time="10s"/> Stop </speak>
However this starts a timer/pause after "Exercise" has been said, I require the "Exercise" dictation to be inclusive of the 10 second timer.
Is there a function which would return the length of time Alexa takes to say a specific phrase? e.g. If "Exercise" = 1s then I could add an SSML break for 9s to simulate a 10s timer.
Any other ideas how I could implement this?