PDA

View Full Version : Toggling Radio commands via GlovePie & speech recognition



Topgum
Aug-10-2016, 12:25
Hello mates,

using GlovePie yet for a while for other apps, I created a GlovePie script for toggling radio Coms in Cliffs of Dover via Speech recognition. That keeps your hands free when you are in a hot action with an bandit on your tail - you need just to call for help.
:-P
(hope that the AI does)
This version is in ENGLISH. Even when GP is designed for Win98 it works with Win7. I don't know if runs also on recent OS. This script is dedicated for Single Player use to prevent confusion on MP.
Note: You have to set up the Win speech recognition (SR) first and do some training with it.
An adequate microphone (Headset) is recommended.

The designers website http://www.glovepie.org is unavailable at the moment, please try to get it from here:
http://www.heise.de/download/product/glovepie-40061/download Take the under download section.

Install an run GP and just copy the continue of the attached txt document into a new script file: save - run - done! :thumbsup:

The first section of the script codes the radio commands mapped to "tab" key by default. In any other case you have to replace the key bindings in the brackets (Key.tab) to your own key.
Replace the voice commands in the brackets to your own taste. I kept it simple.
The second section allows you to design a button which turns SR on or off in two different methods. Use only one of them in one time. Method two is active.
The third section wants to show you that you can trigger any other action with the script, via SR or other input.
The Fourth section: extended mouse actions.

There is an known WIN issue with the volume adjustment.
If you right click on the speaker symbol in the lower right corner "record devices appears, click on your active micro then properties and select the (entry loudness) level tab.
Fade down the slider as long down as speech recognition on GP still works. This prevents that a noise of the environment has an impact on GP.
Sadly Windows will reset it after a wile and you have to proceed it again and again :-( Voicemeeter is virtual sound card (free-ware) which masters (with other jobs) that issue.
http://vb-audio.pagesperso-orange.fr/Voicemeeter/

Good Luck and have fun,
:-)

TG




24241

69th_Damon
Aug-11-2016, 16:55
Clever idea to have a timeout for voice to be activated, As good as a push to talk button. Works great.

Damon