-
Notifications
You must be signed in to change notification settings - Fork 1k
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
After abort, and restarting, annyang will hear everything twice. #313
Comments
Not sure if I am missing something here, but why are you using 'setTimeOut' to call Bootup every 4 seconds? |
I think you are missing something, setTimeOut executes only once, setInterval would execute multiple times. In the code setTimeOut makes the script wait 4 seconds before executing bootup. |
Yes, you are correct. My bad! I confused the two. |
No worries ;) |
Has this been resolved? I'm looking to start contributing to an open source project, and would like permission to tackle this one. |
Thank you @Adrianjewell91 Have you been able to isolate the issue and understand what's the root cause? |
Thanks. @AdamMiltonBarker, I was not able to replicate the bug. It looks like your code requires a certain HTML element called #TOA_Recognition_Window. If you can post a description on how to replicate the issue along with the complete code, I'm still happy to take a deep look. |
Hi guys, an issue that is becoming a pretty big problem for us is that once a user has voice rec on, and then stops using abort(), if they restart again, it will continue hearing everything twice resulting in querying our NLU twice, displaying what it heard twice, and displaying the response twice, any suggestions to stop this happening?
Here is the related code:
https://aiecommerce.techbubbletechnologies.com/TOA/voice-recognition/TOA_Recognition.js
The text was updated successfully, but these errors were encountered: