Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupt Command for Voicecommand #87

Open
Colin1964 opened this issue Feb 11, 2017 · 1 comment
Open

Interrupt Command for Voicecommand #87

Colin1964 opened this issue Feb 11, 2017 · 1 comment

Comments

@Colin1964
Copy link

Hello, Voicecommand (I call her "Gladys") is working just fine. She answers questions, reads the news and weather, adjusts my Hive heating, and can even tell me what homework my son has due. Having spent months getting her to respond to commands and speak I now want to stop her talking! I'd like to add a feature that allows me to interrupt her so I can issue a new command. Can anyone suggest how I might do this? I think it will be using "threading" and follow something like the logic shown.
voice

@symatix
Copy link

symatix commented Feb 16, 2017

I think it would be possible if the keyword listening is constantly running in the background using parallel recording, and another keyword like "stop" is set up to terminate the execution of the command. By the diagram you made, it would not interrupt the command during the execution, only after. That defeats the purpose of stopping mid execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants