Continuous speech recognition #2662
gary-metalle-rvl
started this conversation in
General
Replies: 1 comment
-
1 minute is a limitation of Apple OS. Windows and Android should work fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to have continuous speech recognition?
After calling StartListenAsync() the state goes to listening and maybe silence but after a minute or so it goes to stopped and you get the final result. I don't see any way to set this time limit (ideally to infinity).
I've tried calling StartListenAsync again from the HandleSpeechToTextStateChanged callback when the state goes to Stopped, but even though it transitions to Listening, it doesn't seem to be and stays that way indefinitely.
There's also something iffy about the RecognitionResultCompleted the RecognitionResultCompleted and RecognitionResultUpdated events. I would have thought that it would be better to register these once when you get the ITextToSpeech object but it seems like this needs to be done every time you call StartListenAsync and removed when you call StopListenAsync?
Ideally I'd like a simple app that will listen continuously (if speech option enabled in settings) and it will wait for a 'gateway' word before trying to understand the speech.
Beta Was this translation helpful? Give feedback.
All reactions