AVCS4 Immersive Voice Control Radios for VoiceAttack
-
I tested this by creating some new phrases for the ATC commands menus. I used them in the Landing training mission, and almost everything worked great Very cool!
I was able to say things like:
“Goblin Two-One Requesting the Overhead”
“Goblin Two-One in the break”
“Goblin Two-One on final”
and the appropriate commands fired just like they were supposed to.
I also created “request taxi back” and “requesting taxi back”, for Request Taxi Back to Ramp. This was the only one that didn’t work. Here’s what the VA window shows:
(yellow square) UNABLE TO EXECUTE COMMAND,‘Request Taxi Back to Ramp’ (by name). COMMAND NOT AVAILABLE.
(green square) Recognized : `Request taxi back’I was on the Ground frequency (preset 2) when I was trying to issue this command.
I wonder if I accidentally deleted the `Request taxi back to ramp’ command from the menu somehow? I’m not sure how, but I think I must have messed something up.
Is there any way to find the place where my new phrases are stored, and see if I messed up ‘Request taxi back to ramp’ somehow?
-
I also created “request taxi back” and “requesting taxi back”, for Request Taxi Back to Ramp. This was the only one that didn’t work. Here’s what the VA window shows:
(yellow square) UNABLE TO EXECUTE COMMAND,‘Request Taxi Back to Ramp’ (by name). COMMAND NOT AVAILABLE.
(green square) Recognized : `Request taxi back’I was on the Ground frequency (preset 2) when I was trying to issue this command.
No problem, mistakes happen, but there is no “back” in the actual command phrases - it’s just “Request taxi to ramp”:
AVCS_BMS_COMMANDS_AI COMMS 3 - ATC - Ground Page=[Install EPU Ground Safety Pin;Remove EPU Ground Safety Pin;Install Chocks;Remove Chocks;Request Taxi For Departure;Request Taxi To Ramp;Request Hotpit Refuel;Ground Say Again;Recharge JFS];[Install EPU Ground Safety Pin;Remove EPU Ground Safety Pin;Install Chocks;Remove Chocks;Request Taxi For Departure;Request Taxi To Ramp;Request Hotpit Refuel;Ground Say Again;Recharge JFS]
Just remove the word “back” and it will work just fine.
Is there any way to find the place where my new phrases are stored, and see if I messed up ‘Request taxi back to ramp’ somehow?
YES! If it is something you made with the QCC system, you can review these through the QCC pop-up windows by saying, “Edit a Voice Command” – choose any of your user created QCC commands to view it’s actions, or edit as needed.
You can also view the actual save file containing any of your QCC commands by saying, “Open the Save File”. If you change something like the text value of a phrase in this file after AVCS opens it for you, AVCS will detect the change after you save and then close the save file, and it will then reload the AVCS Profile to make any changes active.
I wonder if I accidentally deleted the `Request taxi back to ramp’ command from the menu somehow? I’m not sure how, but I think I must have messed something up.
*Don’t worry - There is no native way for you to accidentally delete any voice commands unless you edit the actual profile and physically delete any of the commands there. Any command beginning with a token “{TXT:” has it’s actual phrases in the config files for easy patch updates without needing to download and import a new version of a VoiceAttack profile.
That being said, you can edit, delete, or restore any of the default configuration files (containing almost every command phrase) by saying, “Open Advanced Core Options”
A menu will present a drop-down box with options for each of these actions. The systems should walk you through any of the actions, opening each of the configuration files in order as they are loaded, and if you save the text file before closing it, any changes will be applied. Of course these are advanced options, but I wanted to provide easy to use control over deeper configuration of AVCS for the end user.
All of these features and commands are included in AVCS4 Falcon BMS Radios (v1.3.92b) by way of the included AVCS CORE profile:
-
(Mr. Burns voice): Excellent!
Worked great!
I edited the command like you showed in the previous post, and took the “Back” out of the way I typed the real BMS command, i.e. the command to which my phrases refer.
Works great now, I got a clearance to taxi back to the ramp just like I wanted, while still sounding all cool and abbreviated like I was a been-there, done-that Viper driver
I realize I’m splitting hairs here, but I wonder which version of the “official BMS command” is correct:
“Request Taxi to Ramp”
or
“Request Taxi Back to Ramp” ?
The only reason I mention it is because on this page (which shows the lists of commands), the “Back” is present:
… and please don’t think this is me trying to say “ha, I found an error”. Two reasons why that’s not my intent: 1) I don’t know that it is an error, and 2) I would take no pleasure at all in pointing out a typo in a complex system. I started teaching my first online class in Fall 2018, and now of course, all my classes are online for the time being. The amount of content I had to enter into the “learning management system” was insane. I feel lucky that I didn’t make more errors, but when a student asks me a question, and I realize I entered something wrong, or set something up wrong, I get that “uuuuurrrrgghhhh” feeling. Having mistakes pointed out to me - which are essentially impossible for a `lone creator’ to catch, lacking a QA/QC department - is a pain I feel with considerable regularity. :doh: So if this is a tiny typo, please know that I feel your pain and appreciate the mountain of work you’ve put into AVCS!
-
Hot damn, you are very correct, sir! I had merely checked the config file for that command, and posted up with what it was expecting - had not realized that this did not match the actual in-game menu item… Now I wonder, do I change it back, or do I add a second redundant and equal command just to handle it? Probably the second one… Also, happy to provide step-by-step instructions, they are helping me to assemble a proper PDF guide, and help menu items that can link directly to that post (for example) through the Help Menu on voice command.
I’ll release a patch for it, once done it will take effect next time anyone loads their AVCS4 BMS profile. Cheers!
I always welcome constructive criticism and feedback!! Yea, on a team of one, the typos come with the territory - had one that nagged me so bad just recently, a “>=” instead of “<=”, was staring me in the face and laughing for a month before I noticed it, like, AHA! FOUND YOU!! It’s a percentages game… after half a million lines of code comprise something, a few errant characters is nothing to sweat over. Pobody’s nerfect. So, I never mind the surprises or challenges, after the initial shock wears off, that is
-
Small patch update regarding the report above – ATC Command not matching the in-game menu item or command reference.
No need to download new profile version, just apply the patch next time you start up VoiceAttack and the AVCS4 BMS Radios profile:
BETA Release AVCS4 BMS v1.3.92.2 Changelog Dec-12-2020 This is a simple Live Update patch fix, no new profile download is required - the following fix applies to this update: Fixes/Improvements: -Fixed ATC Command for "Request Taxi Back to Ramp" -- was missing "Back"; did not remove "Request Taxi to Ramp" so both variants will work (thank you to Mylonite470 for finding this typo - and thanks to everyone for your patience and support through these betas!)
-
Hi Semler! Please, I need your help sir.
I am unable to set a correct keypress timing.
The default of 0.05 sec will not be accepted.
And every time I restart voiceattack, the default value jumps to 5 sec instead.That means: every time I ask my wingman for status, it takes about 50 seconds until my message is sent.
Whenever I open the keypress timing menu and try to pick an optional number, voiceattack reads error codes like:
Decimal token could not be converted : {DECINV:AVCS_{TXT:AVCS_ACTIVE_PROFILE:CORE}_TimeBetweenKeys}
Error converting, [~avcs_choice_hold] to [AVCS_BMS_TimeKeyIsHeldDown] : Text parse error.
My local language is “German for Austria”, keyboard layout is successfully set to QWERTZ.
Using latest version of VA, and latest AVCS4 version 1.3.92b plus Core 0.92b.(Google tells me there exist some troubles when using a plugin called “EDDI”, but I don’t use any plugins for VA.)
Thanks for advice or a workaround!
I have been enjoying and loving your profile since 1.3… although I don’t have the slightest clue how its complexity works under the hood.EDIT - I just found out (on veterans-gaming.com) that this issue is already known.
However (and sorry to say so), it still persists with 1.3.92b. -
Thanks for the info! Sorry for the continued issues here, I thought it was resolved, but I had no way to test myself. I will likely be able to find the source of the issue using those two errors you posted, thank you for that!
For now, you might just continue to use the 1.3 version - I’ll get an update for this beta 1.3.92 released before too long.
-
Hi,
I’m trying to add a new voice command, I say the phrase and I’m asked for confirmation, I respond Yes, but nothing pops up and after a short time I’m informed the command was cancelled. And the VA stop taking voice inputs.
This happens if I try to “open core options” too.
I have to “Reset Active Profile” to force the profile to start “listening”.
-
Any video of this being used in pit please?
I am using the janjan plugin which i find very good, so it would be interesting to see a comparison.
keep up the good work
John.
-
I’m very tempted by JanJan’s plugin, but it seems too futuristic for me - voice controlling everything in the pit. I would though like to add things like “Show/hide pilot”, “show/hide framerate” etc. to my profile. Oh, and I love AVCS!!
-
Hi,
I’m trying to add a new voice command, I say the phrase and I’m asked for confirmation, I respond Yes, but nothing pops up and after a short time I’m informed the command was cancelled. And the VA stop taking voice inputs.
This happens if I try to “open core options” too.
I have to “Reset Active Profile” to force the profile to start “listening”.
This sounds like an issue that was resolved for the (soon to be released) “93” beta. Apologies that his has not occurred yet, I’m at the stage where I’m not adding anything more, but looking for things to take away.
The fixes in the code block below will be applied in the upcoming release, and I’m only a little behind due to a major VG Community Website upgrade that is taking up tons of my time, including a ton of improved features for mobile tablet/phone users, and the (WIP) VG Air Force and VG Army community clubs with advancement and progression up to and including VG Clan Membership. In addition to the following fixes, the entire Push-to-Talk (PTT) system has been overhauled to allow for zero profile editing – Users will say, “Turn on Push to Talk Mode” and (if at least 1 PTT button/key has not been set) will ask the user to press a controller button or keyboard key (or mouse button), and then save that for the PTT key - then it will ask if the user wants to set another (up to 6 in the current proof of concept, tho this may increase to 256, or more than ever needed just to remove limits).
The system inside each command will then simply check if any of the preset keys/buttons are held down when the command fires, and if not, it immediately exits (with a note that a command was recognized, but rejected, due to PTT key not held down).
This is a massive step forward for me, as the one thing I’ve always been embarrassed about is forcing users to edit AVCS profiles through VoiceAttack in order to use all features, and I’m so happy to finally have a more professional voice controlled system for PTT.
(example of current WIP VA Inline Function in VB.net for PTT – there’s some threading here, so there are actions outside this inline occurring at the same time/waiting/proceeding, etc.: https://pastebin.com/eg19yc2e)
Thank you all for your patience as I wrap up these beta tests and prepare for the full public release version(s)!
COMING SOON in early February! (I promise!!)
-FIXED: When setting Preferred, found duplicates of a non-AVCS profile (created unique list for AVCS and non-AVCS profile list choices) -FIXED: Working on DECINV issue? Set all LOAD_ALL and KEYPRESS_TIMINGS references to use new Globalization Replace in Inlines, Recast Init in MAIN INITS for all profiles -FIXED: VAS QCC commands followed me, should have been 'wiped' and unavailable in different AVCS profile -FIXED: Found "Delete" QCC command not working - looping at final VAS simple confirmation back to choose command to delete box -FIXED: Fixed huge issues inside QCC_MAIN -- tested and all working well now
edit:
I’m very tempted by JanJan’s plugin, but it seems too futuristic for me - voice controlling everything in the pit. I would though like to add things like “Show/hide pilot”, “show/hide framerate” etc. to my profile. Oh, and I love AVCS!!
JanJan’s pluging is a very awesome full-control system for BMS, and AVCS4 BMS is compatible with it (where his versions of ‘Radio Menu Control’ are merely overridden by my ‘any way you say it’ versions of the same thing), but if users are looking to add just one or two sim controls, that is exactly why I designed the QCC system - for quick creation of single/multi-keypress voice commands without having to muck around in the voice command editor. One thing that JanJan’s plugin has (that I’m way behind on) is a customized user interface to display and edit all voice commands, and even filter/navigate this beautiful GUI by voice command! Rest assured, our separate efforts to make our systems better likely inspire each of us to make them even cooler, as we both push the bar higher for what is useful and enjoyable for VoiceAttack users. All AVCS menus will be replaced by a nice GUI before Spring of 2021, I am hoping, perhaps sooner if I have the time. For now, I’ll continue to make use of VoiceAttack ‘Get User Input’ style actions since they are excellent functional placeholders for a future GUI.
I would hope that no one would use QCC to try to create a full sim control system like JanJan’s, but it is excellent for a handful of commands in addition to the immersive voice control radio menu commands. Looking forward to February’s AVCS updates! Cheers!
-
This is all amazing stuff!!
I think I can wait a little longer to tell my pilot body to disappear or for the application pause/freeze.
I have downloaded but not installed the JanJan plugin, I thought it too much risk for something that I would just be taking a look at - if it was going to affect the AVCS setup. I like the sound of the GUI, similar to the Viacom plugin for DCS? Might be cool one day (3-4 weeks) for something similar, but have some kind of IVC integration where the configs can be set in the plugin - there I go, fantasising again
-
This is all amazing stuff!!
I think I can wait a little longer to tell my pilot body to disappear or for the application pause/freeze.
I have downloaded but not installed the JanJan plugin, I thought it too much risk for something that I would just be taking a look at - if it was going to affect the AVCS setup. I like the sound of the GUI, similar to the Viacom plugin for DCS? Might be cool one day (3-4 weeks) for something similar, but have some kind of IVC integration where the configs can be set in the plugin - there I go, fantasising again
Please don’t hesitate to try out JanJan’s plugin and profile combo!! There is NO risk of any problems with AVCS, or his profile. As I said, I designed my profile for complete compatibility in the event that users are using AVCS4 BMS and JanJan’s plugin & profile combo. Using his stuff, it won’t even know you have mine (unless you set his stuff to global profiles and then switched to and used AVCS4 BMS) and if it did, all my profile does is temporarily zero out a particular global text variable holding Radio Menu Commands so that there are not repeat commands conflicting for recognition or priority.
Have fun - check it out - he put a lot of work and thought into it, and it looks great!
-
I looked into changes to AVCS4 again after 4.35 and I’m happy to see the leading wildcard issue was addressed, I thought it was me going crazy but it looks like it was VA going crazy instead. I’m definitely gonna check it out. Can’t wait for the February release.
-
I looked into changes to AVCS4 again after 4.35 and I’m happy to see the leading wildcard issue was addressed, I thought it was me going crazy but it looks like it was VA going crazy instead. I’m definitely gonna check it out. Can’t wait for the February release.
Thank you! I have a bunch more fixes and improvements ready for my “93” beta rounds, very excited about the ‘voice controlled PTT button set/change’. Unfortunately, I’ve had to take time off from my projects to work on the VG website, and I’ve had my hands full with that since the last week of January. I even have an update for my Voice Calculator & Conversions profile (first version doesn’t allow negative temperature conversions), but haven’t had time to release that either. At this rate, I’m hoping to have new versions for AVCS Core/BMS as well as AVCS CALC released before the end of February, as opposed to my original promise of ‘first week of February’. My old friend and webmaster for VG popped in out of the blue to help update our website server/systems, and I basically had to drop everything cuz I’m the one who has been asking for his help since June 2020.
My AVCS CORE is to be a framework that allows me to easily release new complex profiles for any game I want, using methods I’ve developed for AVCS4 BMS, and it will definitely have themed GUI’s, switch panel style for BMS, and other themed styles for other games (space sim/games; military shooters; racing/driving; etc.)
I had been spending a lot of time in Visual Studio playing with different ways to make switch panels, and trying to compactify these into little inline functions for VoiceAttack (as opposed to a proper .exe or plugin) since I think I can do everything I want without needing to go down the VoiceAttack plugin route. I may still try that one day, but for now, it’s easy enough to patch these VA profiles without even downloading a new version, so unless I change major systems, I think I can just call CORE done and move forward to a v1.0 that remains unchanged for quite some time, assuming these past 6 months have sussed out all the bugs.
Cheers and thanks for all the comments and support!!
-
First of all: A big thank you for sharing your hard work. I’m enjoying AVCS4 BMS!
I seem to be having an issue with “Clear my six”. The in game pop up menu hangs and, on checking VA, I see the following messages after this command:
Key down by variable{~ selection key~}not set. No keys released.
Release by variable{~ selection key~}not set. No keys pressed.I haven’t modified your files in any way( as far as I know).
-
First of all: A big thank you for sharing your hard work. I’m enjoying AVCS4 BMS!
I seem to be having an issue with “Clear my six”. The in game pop up menu hangs and, on checking VA, I see the following messages after this command:
Key down by variable{~ selection key~}not set. No keys released.
Release by variable{~ selection key~}not set. No keys pressed.I haven’t modified your files in any way( as far as I know).
If I remember correctly, I saw a typo once in these lines.
Something like “check my six” instead of “clear my six”.
But I’m not sure if it hasn’t been corrected in the meantime. -
If I remember correctly, I saw a typo once in these lines.
Something like “check my six” instead of “clear my six”.
But I’m not sure if it hasn’t been corrected in the meantime.Yeah, but then it wouldn’t throw exceptions in the VA Event Log about keypress/release if it was a ‘wrong’ command or unrecognized variant. Also, you are correct, back in the “92” beta round, I added the correct radio command for “clear my six” in addition to the incorrect variant (still in place for alternate syntax recognition) “check my six”. So long as the user(s) have initialized, these changes will be in place for any new users, and available as a patch update for former users (who certainly should have applied it by now). These are present in AVCS4 BMS 1.3.92.2b
I seem to be having an issue with “Clear my six”. The in game pop up menu hangs and, on checking VA, I see the following messages after this command:
Key down by variable{~ selection key~}not set. No keys released.
Release by variable{~ selection key~}not set. No keys pressed.This sounds like some sort of initialization error, since all those keypress variables (~selection key~) are set during initialization, read from the config files in the VA Apps Folder (under the respective profile name/build/version folder)
First things first: You should be running AVCS CORE 0.92b and AVCS4 BMS 1.3.92b – these both need to be fully initialized, where the system says, “Systems initialized” (or some variant) when complete, along with info in the VA Log for Profile Name/Version and current state of PTT Mode, Audio Feedback Mode, and All Humans Mode. If this is not happening, please reply and let me know… Otherwise, we can troubleshoot this.
This one is not something we’ll be able to determine just through simple conversation, BUT for this very reason, I built in a bug reporting system***** that will ask you to run a command and then say, “Save Report”, which will take all debug log info and make it ready for a Bug Report Post on my website (it’s not a public area, the rest of my website/community won’t be chiming in). What this does is enable a ton of logging data for each stage of any command or system, so that I can see exactly where and why a command is failing for you.
Say, “Create a Bug Report” … it will speak, telling you to say the command that is failing, so do that and let it run (and fail), and when it is done, say, “Save Report” … it will open my secure website to a new bug report, and ask you to place cursor in the big text area, then say “Ready” or “Done” to paste the bug report contents. It will look odd, bbcode formatted, but feel free to review the contents before clicking “Save” below the content area.
*You don’t need to make a user account on my website to use this feature - but if you have a user account, you can choose to follow the report and any replies.
I will review this as soon as I have time, and will get back to you (I’ll post up here in this thread so you don’t have to ‘follow’ the report on my site).
We’ll get you all sorted out - I’m sure the bug report will show what is wrong. Cheers!
-
Thank you Semler. Will try the bug report process when I can. Incidentally my AVCS versions are Core 0.92b and v1.3.92b and were fully initialized. Only just started using your ap., but the other commands work well so far.
-
Thank you Semler. Will try the bug report process when I can. Incidentally my AVCS versions are Core 0.92b and v1.3.92b and were fully initialized. Only just started using your ap., but the other commands work well so far.
Bug report saved!