|
-
Jun 24th, 2012, 10:25 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] How to make Windows 7 voice reco listen
Okay, I'm using the System.Speech.Recognition.SpeechRecognizer engine to do voice recognition, and it's working pretty well. However, there IS something I'd like to do but don't know how.
The SpeechRecognizer class uses the Windows-provided voice recognition system, which pops up and indicates whether or not it's listening and what it hears... that's outside your program.
This is a picture of what I'm talking about:

I would like to know if there is a way to:
- Programmatically tell the windows voice recognition to listen and stop listening, instead of forcing the user to do it manually.
- Programmatically hide the voice reco window in the picture above... why clutter the screen?
Thanks in advance for any helpful replies.
-
Jun 24th, 2012, 12:14 PM
#2
Re: How to make Windows 7 voice reco listen
I know this sounds a tad counter-intuitive, if not daft, but isn't "Start Listening", along with "Stop Listening" a recognised verbal command?
-
Jun 24th, 2012, 02:14 PM
#3
Thread Starter
Hyperactive Member
Re: How to make Windows 7 voice reco listen
Yes it is, but the program itself knows when it needs microphone input and when it doesn't, and I want a way to get the service to stop listening to input. Programatically.
-
Jun 27th, 2012, 08:07 PM
#4
Thread Starter
Hyperactive Member
Re: How to make Windows 7 voice reco listen
Okay, I figured this one out. If I use the System.Speech.Recognition.SpeechRecognizer, it uses the "shared recognizer" and there's no way to programatically make it start and stop listening. However, if I instead use the System.Speech.Recognition.SpeechRecognitionEngine, that creates an application-specific speech recognizer, and I have full control of when it is and isn't listening for input.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|