AVCS4 Immersive Voice Control Radios for VoiceAttack
-
@Atlas said in AVCS4 Immersive Voice Control Radios for VoiceAttack:
@SemlerPDX drinking from a firehose, I think is the expression! But a lot of stumbling and figuring things out to do! At least the profile is working now, and the “human” has a lot of learning to do!
@SemlerPDX said in AVCS4 Immersive Voice Control Radios for VoiceAttack:
When I get to the next update, I’ll see about making such things smarter, if for example called with the word “tanker”, it could assume this means the “air refuel” action, and not on the ground.
I’ve just now seen that hot refuel option, but doesn’t the profile listen for things like “two” to know I’m talking to the wingman, “element” to know I’m talking to #3, and “flight” to know I’m talking to all of my guys? After all, how does a 4-ship respond if I query all our fuel states vs. if I just want to query my wingman’s fuel state and not #3 and #4?
Those are wingman/element/flight commands, and yes they do know who you are talking to… but AWACS/TANKER/ATC/JTAC are not the same system, and do not work with those same menu actions - they do not know if it is prefixed with a 1, 2, or 3, and are currently not smart enough to recognize the designation of “tanker” to do other things with, the other command catches it before that word is used. That way you could say their proper callsign or even “Rubbery Ducky dry and thirsty Requesting Air Refuel” and have a laugh while it still works. It’s called “wildcards”
TLDNR; things like “Tanker Request Air Refuel” don’t actually need the word “tanker”, they ignore anything before the start of their action words like “request”, unlike flight commands.
-
@SemlerPDX I see. And I’m a total idiot here so tell me if I’m wrong but can we not have “tanker” wildcards that have words like tanker, Texaco, etc. to let it know that we want to access the Y set of commands, then have “gibberish” wildcards that are ignored like Rubber Ducky dry and thirsty for feeling cool and TopGun-like, the the actual commands like request refuel to let it know which of the Y commands we want to send?
That way we could say:
“Texaco 1, Viper 3, flight of 4, 10 miles south of your position rejoining, requesting refuel”
“Tanker 1, Warthog 6, request refuel”
“tanker, Rubber Ducky dry and thirsty , request refuel”and all would work?
-
@Atlas Absolutely, but not yet. As I stated, the current system is not smart enough to recognize that distinction - it gets the base key to press (in this example, “Y”) from the phrase that was said, ignoring all ‘red’ and ‘green’ speech from your example.
The phrase “request air refuel” itself is in the tanker category of voice commands, it uses this to know this is for tanker and to press “Y”.
Just like the “request refuel” is in a different category, so it knows to press the “T” key for any voice commands in that category. All of this predates several duplicate voice commands in radio menus, too.
Because of that, on the next major profile update, I plan to revisit such systems to give them the ability to be smarter. For now, you could use the Quick Command Creator as described in the Wiki post to make a voice command with the phrase “Tanker Request Refuel” and the action to execute the command “request air refuel” – but then this does become rigid and would not allow the ‘green’ portions of your example above.
-
@SemlerPDX I just looked at the profile and the commands and that is way above my skills to edit! I’ll see how to use the QCC later on. Thanks!
-
@Atlas said in AVCS4 Immersive Voice Control Radios for VoiceAttack:
@SemlerPDX I just looked at the profile and the commands and that is way above my skills to edit! I’ll see how to use the QCC later on. Thanks!
The problem that would arise from having simply a command ‘when I say’ “tanker*” when trying to gather good understanding of the words that came after it - wildcards are a somewhat experimental and unsupported feature, and it comes down to the voice recognition engine to determine those words which were not predefined in the ‘when i say’ field.
This can produce mixed results, and a lot of missed actions when those words are quite important to determine what actions to take. Not so much if they are mostly arbitrary, and numbers are far easier to get correct than words when unknown.
This is why my Wilcard Voice Calculator & Conversions profile works very well, all of the operational keywords are defined in the ‘when I say’, but when preceded and proceeded by any numbers, it gathers what it can to create an equation to evaluate. Numbers are easy, words … not so much. Just say some random sentences into VoiceAttack and watch how wrong it gets so many words if you don’t enunciate like a robot.
But I can work some magic later on when I get to redesigning some systems for AVCS4 BMS, rather than replacing existing wildcard commands, I would just add a check for what was said before, to contain a callsign typically know for tankers or the word ‘tanker’ itself - just not yet.
-
@SemlerPDX Yes sir!! Easy in theory, difficult in practice!
-
@SemlerPDX I’m having a weird issue here sometimes when I finish a mission and exit BMS but leave VA on, and I double-click on an icon on my desktop, weird behaviour happens and I’ve figured it out that the PC thinks I have the ALT key pressed. So for example, if I double-click on the Launcher icon for BMS, instead of starting up the Launcher, it opens up the properties window instead:
It does this intermittently, so sometimes I’ll get the behaviour after a mission, sometimes not. Pressing ALT seems to turn off the “problem” or turning off VA also works.
-
@Atlas said in AVCS4 Immersive Voice Control Radios for VoiceAttack:
@SemlerPDX I’m having a weird issue here sometimes when I finish a mission and exit BMS but leave VA on, and I double-click on an icon on my desktop, weird behaviour happens and I’ve figured it out that the PC thinks I have the ALT key pressed. …
I have no idea what could be depressing the “ALT” key and not releasing it. Both AVCS CORE and AVCS4 BMS do not have any keypress actions that include the “ALT” key.
All keys pressed by AVCS4 BMS can be found in the ‘data_1.cfg’ file at this path (relative to where your VA is installed):
".\VoiceAttack\Apps\AVCS\CORE\BMS\40\update\avcs_bms_data_1.cfg"
…and for AVCS CORE:
".\VoiceAttack\Apps\AVCS\CORE\CORE\11\update\avcs_core_data_1.cfg"
Have you created any custom commands yourself, manually or through my Quick Command Creator system? If you created some keypress commands that use “ALT” through Quick Command Creator, paste a copy of your save file here - with your AVCS4 BMS profile active and fully loaded/initialized, say, “Open the Save File”, and paste the contents here inside a code block using the </> button in the editor bar above. If you have an errant QCC command, I can help you resolve it.
-
@SemlerPDX I’ve noticed it because I’ve been testing a lot lately which means going into the game, doing some tests, exiting the 3D pit, closing BMS, then restarting BMS. During this time, I don’t use VA but it is on and running just so that if it has any performance hit, then it is there running. Again, I don’t issue any voice commands. When exiting BMS, sometimes it seems like an ALT key is stuck, sometimes everything is fine.
I have created three custom commands manually. They are all for TrackIR though so F-keys and some number keys, no ALT button involved.
AVCS_BMS_KeyboardLayout=0 AVCS_FIRST_RUN=25 AVCS_SFS_CurrentBackupIndex=1 AVCS_SFS_SaveFileBackupCount=10
-
@Atlas Understood. Yeah, there definitely seems to be something that is depressing the “ALT” key for you and not releasing it. But it seems like that is not VoiceAttack, assuming you have no other profiles loaded except AVCS CORE and AVCS4 BMS.
You don’t have any ‘global’ profiles in VoiceAttack Options, or any VoiceAttack Plugins, do you?
Last thing I could think of to ask would be if there is a Joystick or controller button that enacts an “ALT” keypress or keypress combo?
-
@SemlerPDX I have a DCS profile too but I have your stuff set up to auto-load during start of Voice Attack. I’m not sure about other options or plugins, I’ve not installed anything else aside from the DCS profile (F-14 by Capt Zeen) and your Core and BMS profiles.
I have Helios but the ALT behaviour persists even with Helios off and only goes when VA is closed.
-
@Atlas I’m sure there is a simple solution or something we are missing, but it escapes me. If you are certain that this issue is due to VoiceAttack, the folks over on the VoiceAttack Discord would be the ones to ask for help troubleshooting - post up in the ‘General’ category. I know it may be painful and time consuming, but they should be able to help you sort any odd behavior with the VoiceAttack program (if it is indeed the culprit).
Best wishes and good luck to you! (if you post up in the VA Discord, I’ll be following along)
-
@SemlerPDX Thanks for your help! The next time it happens again, I’ll double-check my programs running to narrow it down if it is indeed VA and take some screenshots.
-
-
@SemlerPDX When I say “tanker done refueling” Voice Attack hears this but thinks I’m saying “tanker Don refueling”… not exactly sure how to fix this issue, I don’t have much of an accent and even altering how I say “done” and VA still thinks I say “Don”. Suggestions?
-
@Atlas you can train the Microsoft voice software. It’ll ask you to type in a word and then say the word.
-
@CriticalMass I’ve done that training thing where I say a bunch of sentences out loud but never came across that which you’re speaking of
-
@Atlas it’s not the regular training but adding specific words. For example, if you want to add something like QNH and have it interpreted as a word.
-
@Atlas You can find a shortcut to this under VoiceAttack Options menu, the Recognition Tab - and the ‘Utilities’ button:
“Add/Remove Dictionary Words”Add a specific pronunciation for any given word that may be having trouble during recognition. This is done by adding a word to the dictionary, and then recording a custom pronunciation for that word. I had to do this for the word “eight” - and I have a “Standard American Accent”:
(be sure to check the box as pictured to ‘Record a pronunciation upon Finish’)…try that first. Worst case scenario, you can use the Quick Command Creator to make a new ‘Advanced’ command with the phrase “tanker don refueling” with the action to call the actual command “tanker done refueling” as described in the AVCS Wiki for my BMS profile here:
https://veterans-gaming.com/wiki/vg-labs-projects/avcs-wiki/avcs4-bms-manual/#Alternate%20Phrase%20Commands -
@SemlerPDX That did the trick, thanks so much for your help!
-
Dear @SemlerPDX,
may we look forward to a little AVCS4 update, due to the additional radio calls
(“weapons free A-A”, “weapons free A-G”)?
Best regards