Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Locking the computer disables speech recognition on windows 8.1

I work with SpeechRecognitionEngine from the namespace System.Speech in inproc-mode for doing some automation work. The speech recognition is started via RecognizeAsync.

It works fine, however, when the computer gets locked, speech recognition stops. As soon as the computer gets unlocked, the recognition is active again. While this is probably a meaningful behavior for most applications, for mine, it is an issue. I have searched the web, but not found a solution to disable this behaviour.

How can I parameterize the SpeechRecognition not to stop when the computer is locked?

(Please note: The app is a conventional Windows WPF application, not a Windows Store App)

like image 420
HCL Avatar asked Dec 04 '13 09:12

HCL


People also ask

Why is my Windows Speech Recognition not working?

If it's not working, make sure you turn on “online speech recognition”. To do this, open the settings app on the start menu, select “privacy” then click “speech”. Turn on “online speech recognition”. Also check your microphone levels.

Does Windows 8.1 have voice recognition?

Speech Recognition is one of the Ease of Access facilities available in Windows 8 that gives you the ability to command you computer or device by voice.

How do I fix Windows Speech Recognition is not available for the current display language?

Press start menu and go to settings> Time and language> Region and language> in Languages, click English (US) (or another compatible speech language that you have as default). Click on the Options button and then on install speech ...


3 Answers

Some ideas which might be too crazy to work to hopefully trigger some ideas that might work:

  • Using ControlChannelTrigger to keep pinging your app to wake up and try recognizing speech at intervals? This listener allows your app to process network data in the background.
  • Try out Google Chrome's hotword (OK, Google) extension and see if it works behind the lock screen. If they can do it, then it's possible.
  • Do you have to lock the screen, isn't it possible to not have it locked?

Some references:

  • http://msdn.microsoft.com/en-us/library/windows/apps/dn263238.aspx
  • http://msdn.microsoft.com/en-us/library/windows/apps/hh977056.aspx

Similar questions:

  • http://gotspeech.net/forums/thread/11826.aspx
  • http://social.microsoft.com/Forums/en-US/2ab82528-0d1c-492e-9c15-38730d88b3e9/speechrecognitionengine-pauses-on-lockscreen?forum=Offtopic
like image 199
David d C e Freitas Avatar answered Oct 14 '22 10:10

David d C e Freitas


Do you have "Enable voice activation" option enabled in Windows?

It looks like the behavior you describe is expected when "Enable voice activation" option is disabled in Control Panel | Speech recognition. Though, it can be unrelated to locked Windows.

See "Setting speech options":

Enable voice activation
Sets Speech Recognition to start in sleep mode and allows Speech Recognition to enter sleep mode when you say "stop listening."

On the other hand, I don't think that using Speech Recognition with locked device is valid operation (security reasons). Unless you are going to spell your password instead of typing it. :)

like image 22
bahrep Avatar answered Oct 14 '22 12:10

bahrep


See this article on how to launch an application on the secure desktop (a.k.a. lock screen).

like image 22
Knuckle-Dragger Avatar answered Oct 14 '22 11:10

Knuckle-Dragger