Results 1 to 4 of 4

Thread: [RESOLVED] How to make Windows 7 voice reco listen

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2009
    Posts
    258

    Resolved [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:

    1. Programmatically tell the windows voice recognition to listen and stop listening, instead of forcing the user to do it manually.
    2. Programmatically hide the voice reco window in the picture above... why clutter the screen?


    Thanks in advance for any helpful replies.

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    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?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2009
    Posts
    258

    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.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2009
    Posts
    258

    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
  •  



Click Here to Expand Forum to Full Width