Continuous speech recognition #1062
Replies: 2 comments 1 reply
-
@gary-metalle-rvl I believe you've filed this in the wrong repository, this isn't an API in the .NET Community Toolkit. Did you mean to file this in the MAUI Community Toolkit? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Wrong repository |
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