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)
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.
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.
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 ...
Some ideas which might be too crazy to work to hopefully trigger some ideas that might work:
Some references:
Similar questions:
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. :)
See this article on how to launch an application on the secure desktop (a.k.a. lock screen).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With