You must use SpeechRecognitionEngine Class.
speech recognition for windows application
-
11-06-2023 - |
Question
we are trying to develop a speech recognition application user microsoft .net speech
private SpeechRecognizer _sr;
private SpeechSynthesizer _ss;
this automatically opens up windows speech recognition, and so it will try to detect all speech, and work with it,
Is there a way to actually limit this speech recognition to only work with the application that we're building? and also, to only to only respond to commands with a certain prefix. ie. bob, are you there? bob can you do this? bob can you do that?
Solution
OTHER TIPS
Just to complete Hamlet...
Yes, use Speech Recognition Engine and use SpeechRecognized
event to get the first recognized word, compare it to your defined prefix (like bob) and do whatever you want to do when it's true.
Cheers
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow