suggestion for continues recognition #428
-
Glory to Ukraine!
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Glory to heroes! Thank you for the support! StartListening is listening until you call StopListening ListenAsync is listening until you cancel the token. OpenAI here is just an example how to integrated it in app. You can start the button and say Open paint. Paint will be executed. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot Vladislav for your response. Could you please also explain what is purpose of Intent(RecognizerIntent.ActionRecognizeSpeech)? |
Beta Was this translation helpful? Give feedback.
-
In Android Intent is used to pass some parameters. the type of Intent here is Recognize speech. You also pass the culture (language) and other parameters to the SpeechRecognition. As for the article, it describes how I created this service. It is now available in .NET MAUI CommunityToolkit, so it's better to use this package |
Beta Was this translation helpful? Give feedback.
-
I tried to move content of Listen method to run in background : |
Beta Was this translation helpful? Give feedback.
-
The application must be in foreground, otherwise it will not work, because it can be treated as a spyware |
Beta Was this translation helpful? Give feedback.
Glory to heroes! Thank you for the support!
StartListening is listening until you call StopListening
ListenAsync is listening until you cancel the token.
Both methods use Continuous listening, but some platforms have silence timeout, so listening is stopped after some time.
OpenAI here is just an example how to integrated it in app. You can start the button and say Open paint. Paint will be executed.