This is very nice work. I`m having a lot of fun with this Speech SDK thing, too.
- BTW you also need .NET Framework 2.0 for this to work. At least that`s what it told me.
- I have MS Office 2003 installed, and I still needed to d/l and install MS Speech SDK. Perhaps I didn`t install that specific component, I don`t recall.
- Question: If I have "Affirmative" mapped to `2, and "Negative" mapped to `1, whereas your software thinks I have the opposite, doesn't saying "Affirmative" in my microphone make your software send the "`1" command to Alleg, which Alleg will interpret as "Negative"? I'm asking this for those who have TE's chat pack installed...
New Allegiance Utility: Voice Recognition Chats!
Allegiance Academy
"It seems that everything one does to earn a livelihood, to subsist, or to enjoy life turns out to b
"It seems that everything one does to earn a livelihood, to subsist, or to enjoy life turns out to b
It works sort of ok..
I mean it works, but I have started to rewrite the chats.. it is just too long to say 'found enemy miners request assistance' /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
.. and this uses the default chat.. thus if you have yours modified, you do have to modify the files..
.. other than that.. it works .. but I really need to train the engine still.. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
I mean it works, but I have started to rewrite the chats.. it is just too long to say 'found enemy miners request assistance' /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
.. and this uses the default chat.. thus if you have yours modified, you do have to modify the files..
.. other than that.. it works .. but I really need to train the engine still.. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

".. just a flutter in the night .."
You're still able to do ~ commands where ever you like. The application injects keypresses directly into the keyboard buffer, so it doesn't affect Allegiance at all.Angela Liu wrote:QUOTE (Angela Liu @ Jun 29 2007, 05:10 PM) One problem though, tell me you are still going to be able to use the ` key and enter by hand? /cool.gif" style="vertical-align:middle" emoid="" border="0" alt="cool.gif" />


You can edit the AllegianceChats.csv file to change the grammer - command mappings to what ever you like. Once you look at the file, you'll see exactly what needs to be done. AllegChat will remeber which file it loaded last, and reload that file the next time it starts, until you point it somewhere else.Jell wrote:QUOTE (Jell @ Jun 29 2007, 05:36 PM) - Question: If I have "Affirmative" mapped to `2, and "Negative" mapped to `1, whereas your software thinks I have the opposite, doesn't saying "Affirmative" in my microphone make your software send the "`1" command to Alleg, which Alleg will interpret as "Negative"? I'm asking this for those who have TE's chat pack installed...


Myotis wrote:QUOTE (Myotis @ Jun 29 2007, 06:10 PM) It works sort of ok..
I mean it works, but I have started to rewrite the chats.. it is just too long to say 'found enemy miners request assistance' /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
.. and this uses the default chat.. thus if you have yours modified, you do have to modify the files..
.. other than that.. it works .. but I really need to train the engine still.. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
I like the "Attack Miners" for just that reason!
If you do the training, your VR enjoyment will go way up, much like attending the @Cadet training! /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" />


Nice. I installed this but don't have the time to try it out now (macroeconomics final exam tomorrow ugh). I assume that I can modify AllegianceChats.csv to include any commands I want, correct? I got a program called Voice Buddy ( http://edimensional.com/index.php?cPath=23...ef58eccb42c9bb6 ) a couple months ago for cheap but never installed it after learning I could only install it on one PC unless I buy additional copies. My PC is getting older and I'd rather not waste it on this so I've been waiting until I get a new PC which hopefully will be very soon.
Anyway, I was going to try setting Voice Buddy up with all kinds of commands so I can get away from using the keyboard as much. Stuff like dropping mines/probes, going to command view or other screens, rip, autopilot, targeting, etc. I can just go to AllegianceChats.cvs and say enter "Probe" and my key mapped to probe in the second column? I'm not sure how much of this you coded and how much is coming from Microsoft Speech, like if Speech recognizes <RET> or you translate it to the key code in the program. Is it possible to use combos like Shift+[another key] and are there shortcuts for keys like shift/control/alt/etc or would you have to code those in?
edit: I just crashed hitting Enter when it was asking me to hit a key to assign as the activation key
Anyway, I was going to try setting Voice Buddy up with all kinds of commands so I can get away from using the keyboard as much. Stuff like dropping mines/probes, going to command view or other screens, rip, autopilot, targeting, etc. I can just go to AllegianceChats.cvs and say enter "Probe" and my key mapped to probe in the second column? I'm not sure how much of this you coded and how much is coming from Microsoft Speech, like if Speech recognizes <RET> or you translate it to the key code in the program. Is it possible to use combos like Shift+[another key] and are there shortcuts for keys like shift/control/alt/etc or would you have to code those in?
edit: I just crashed hitting Enter when it was asking me to hit a key to assign as the activation key
Last edited by aem on Sat Jun 30, 2007 12:21 am, edited 1 time in total.
The speech engine just raises events when it recognizes something, and then I handle the rest. (toggling the volume, enabling the mic input, relaying the proper key commands). Actually, the hardest part of the thing is that the speech engine raises no event when it fails to recognize, which makes it hard to tell when to give the user feed back that thier voice command failed in continous recognition mode.AEM wrote:QUOTE (AEM @ Jun 29 2007, 07:15 PM) Nice. I installed this but don't have the time to try it out now (macroeconomics final exam tomorrow ugh). I assume that I can modify AllegianceChats.csv to include any commands I want, correct? I got a program called Voice Buddy ( http://edimensional.com/index.php?cPath=23...ef58eccb42c9bb6 ) a couple months ago for cheap but never installed it after learning I could only install it on one PC unless I buy additional copies. My PC is getting older and I'd rather not waste it on this so I've been waiting until I get a new PC which hopefully will be very soon.
Anyway, I was going to try setting Voice Buddy up with all kinds of commands so I can get away from using the keyboard as much. Stuff like dropping mines/probes, going to command view or other screens, rip, autopilot, targeting, etc. I can just go to AllegianceChats.cvs and say enter "Probe" and my key mapped to probe in the second column? I'm not sure how much of this you coded and how much is coming from Microsoft Speech, like if Speech recognizes <RET> or you translate it to the key code in the program. Is it possible to use combos like Shift+[another key] and are there shortcuts for keys like shift/control/alt/etc or would you have to code those in?
edit: I just crashed hitting Enter when it was asking me to hit a key to assign as the activation key
It should be noted that the hot key for the chat program still flows into the current active program for certain magic keys. IE: I can't suppress the Enter key, or it would be removed from the keyboard buffer injector as well, then I couldn't send Enter as part of the command. This is mainly a limitation of the way I'm intercepting the keyboard from C#... I tried a lot of ways, and a lot of code examples before I hit on one that works most of the time. I did find that it is possible to remap the keyboard anyway you like, but it requires a reboot to make XP see it. /mad.gif" style="vertical-align:middle" emoid=":mad:" border="0" alt="mad.gif" />
I'll make note to trap out enter, and look for other invalid keys as well.
You can send any keypress you like, so far the syntax includes:
[0-9]
[A-Z]
[a-z]
<RET>
<TAB>
~
Other keypresses can be added on request, this was just the bare minimum to get the default chats working.
I had an idea tonight for a grammer:
"Care Bear Question Stealth", "I see you have shields on your stealth fighter. Would you like me to give you some tips for stealth fighters?"
<newbie answers yes in the chat>
"Care Bear Instruct Stealth", "Stealth tip #1<RET><PAUSE 3>Stealth tip #2<RET><PAUSE 3>Stealth tip #3<RET><PAUSE 3>"
etc...
I would also provide a second hot key to abort command playback for these longer chats in case one goes off on all, when you really meant to yell "defend miners"... /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" />


hahahhaha that is so awesome BT but GV may have a bit to much fun explaining on all what a nan is...
I'm sorry I don't remember any of it. For you the day spideycw graced your squad with utter destruction was the most important day of your life. But for me, it was Sunday
Idanmel wrote:QUOTE (Idanmel @ Mar 19 2012, 05:54 AM) I am ashamed for all the drama I caused, I have much to learn on how to behave when things don't go my way.
My apologies.
If this works, you may have made a major change to the game. Don't let any of the old-timers catch wind of this - they will call it cheating.
Last edited by beeman on Mon Jul 02, 2007 12:38 am, edited 1 time in total.

"What if, star sailor, I were to come over your house and punch you in the $#@!ing face?!
Will that finally get you to shut the hell up?!?" -- neotoxin
-
fuzzylunkin1