Page 1 of 1

[PROGRAM] YS Voice Recognition System

Posted: Wed Jul 27, 2011 7:06 am
by Eric
mr j wrote:
YS Voice Control Recognition System. Requires GlovePIE. Server mode chat fixed. For stable version!
(13.56 KiB) Downloaded -- times

I apologize to the five early adopters, but it was brought to my attention that the script would still talk while you were using the chat function in server mode. This update should fix that.

Here is the little surprise I promised with the release of YS wiimote control. This is the Voice Recognition System for YSFlight. This script using GlovePIE, doesn't attempt to actually fly the plane with voice control, but rather supplements your favorite joystick. Most all of the controls on the keyboard are mapped to voice commands. For example saying "gear up" presses the G button and tells you that the gear has been raised. It does this by taking advantage of your computer's Text to Speech engine, and either Microsoft Sam (in windows XP) or Microsoft Anna (in Vista) will talk to you. It can also tell you that your gear is already up, for example. This can also automate complicated multi-button commands such as saying "Radio Wingman One to Break and Attack" presses Enter then One then One again to make the wingman break and attack. This is faster than trying to press all those buttons in succession.

Don't worry, if you find your computer talking to you too annoying, just say shutup sam or shutup anna, and they won't bother you anymore.

A list of controls can be accessed by saying "Sam, what can I say" if using windows xp, or "anna what can I say" in Vista. The script will assume you have the default mapping for keyboard in ys. If you do not, the script will cause undesired behavior. For example, if you had flaps set to Keyboard button G from the options is YS, you would get flaps instead of gear when saying gear down while using my script.

These scripts require GlovePIE 0.29, a microphone, and Speech Recognition to be installed. Speech recognition is included in Microsoft Office.

To use the script, simply run the script in GlovePIE, start YS, and talk away.

The folders in the zip are arranged in this way. . .
Windows XP folders contain scripts set up for Microsoft Sam.
Windows Vista folders contain scripts set up for Microsoft Anna.
Male folders contain scripts that address you as sir.
Female folders contain scripts that address you as madam.

Any feedback is greatly appreciated.
Coming soon: Voice control scripts integrated with wiimote control.

Credits: Coding, my sweet self. Inspiration for features came from Dart (yes he is alive), and testing was done by Csana and Dart.

NOTE: If you experience any lag with the script, set GlovePIE to a higher priority in task manager. GlovePIE will probably never use more than 5% of your processor, but running YS can kind of drown it out. Setting it to a higher priority will ensure this doesn't happen.

These scripts hopefully fix that little bug with the exiting of flight in the new test version. I don't see a way to implement refueling or restocking with your voice without a lot of unnecessary coding, unnecessary questions, and would result in a script too large to manage.

To use the new feature, after saying "exit flight" you can either say "replay" or "continue" to start the flight over. Saying "terminate" will end the flight completely, reset the variables, and start Sam or Anna talking again.

Thank you for your support.
YS Voice Control System with support for test version flight ending. For test version!
(13.87 KiB) Downloaded -- times
repost from

Re: YS Voice Recognition System

Posted: Wed Jul 27, 2011 7:37 pm
by hedzup456
Nice Idea.. Mr j...
I am downloading now! :geek:

Re: YS Voice Recognition System

Posted: Thu Aug 11, 2011 7:42 pm
by Crazypilot
Flying made easier.
Is Launching a missile possible?
E.g2:Switch to weapon and say fire.

Re: YS Voice Recognition System

Posted: Sat Aug 27, 2011 12:35 pm
by Honey Badger
Stupid question alert! Does this work on Windows 7? I have a feeling it won't, but I just want to be sure.

Re: YS Voice Recognition System

Posted: Sat Aug 27, 2011 1:27 pm
by vincent
I made it work on Vista in the past.