Jump to content
The simFlight Network Forums

change focus of speech recognizer while inside fsx

Recommended Posts

I am trying to use Lua to create a method of setting the heading in the fsx autopilot by using a voice command such as "set heading two four zero". I saw a code sample somewhere using Google, but can't find it again.

In any case, the Microsoft voice recognizer engine won't act like the normal dictation engine when it's running inside fsx. It's looking for the phrase "press two" to press a key, followed by "enter".

I want to send a voice recognition phrase, as in "set heading two four zero" and have the recognition engine recognize is as a phrase without requiring any key press strokes.

I have already figured out the code to get and send the variable to the autopilot, but it's the ability to have the engine recognize a phrase that's got me stumped.

Any help would be appreciated.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.