Skip to content

stop TTS #17

Answered by adrianwyatt
kamil-malinski asked this question in Q&A
Discussion options

You must be logged in to vote

The Azure Speech TTS calls have APIs for "StartSpeakingSsmlAsync" and "StopSpeakingSsmlAsync" you could take advantage of. Right now we just call "SpeakSsmlAsync" as a blocking call. You could start the speaking, then immediately go into a wake word detection until the speaking completes, or if the wake word is heard you can call StopSpeakingSsmlAsync.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kamil-malinski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants