AVCS4 Immersive Voice Control Radios for VoiceAttack
-
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!
-
Bug report saved!
I don’t see it among the bug reports on my website here: https://veterans-gaming.com/semlerpdx-avcs/bug-reporting/
This may indicate that nothing at all is working properly in your case…. it should have opened my website to a new report page, told you to place your cursor in the large text are, then say ‘Ready’ or ‘Done’ to paste the report contents (bbcode formatted, you can review before posting) then press ‘Save’ on the webpage to post the report.
As an alternative, can you please say, “Open the Error Log” and then manually create a New Bug Report at my site* (just fill out the minimum number of required fields, then paste the contents of the Error Log into the large text area at the bottom and click ‘Save’ to post this report on my website. I’ll review the log as soon as I have time.
*IF this error log is blank, then please post up and we’ll have to chat in Discord or something with faster back-and-forth, because that would indicate some ‘new user curve balls’ that I had not anticipated, and if we can find out how you got down that road, we can help make sure no one else runs into your specific issues in the future.
Click Here to create a Manual AVCS Bug Report: https://veterans-gaming.com/semlerpdx-avcs/bugs/
-
Manual report saved.
I did try the Create Bug Report process via VA , but the voice command after “Create a Bug Report” says "Are you sure…."and cuts off. Sorry if I’m being dumb. Anyway I continued the process, the website came up, I clicked as directed and got a “Report saved” message.
-
Hello SemlerPDX. First let me thank you for your amazing VA BMS profiles. I’ve been using them for ages, with a lot of satisfaction.
I’m back in BMS 4.35 after a few months with DCS, but I have an issue. I’ve installed your latest CORE and BMS profile and the installation went smoothly. The problem is in the time necessary for BMS to react to my vocal commands. I’ve timed it and between the moment I say, for instance, “Request taxi for departure” and the moment the command is actually sent to BMS, it sometimes take 20-30 seconds. I remember your previous profile with the blue radio menus scrolling almost instantly. Now, it takes the profile 10 seconds to go from one menu page to the next. Please note that I also use the Viacom Pro profile for DCS and that it could be something in the VA settings. I hope you can help me with this because it can be annoying. Imagine the time it takes before I get an answer to my “Declare” calls
Thanks for your helpJudy
-
Manual report saved.
I did try the Create Bug Report process via VA , but the voice command after “Create a Bug Report” says "Are you sure…."and cuts off. Sorry if I’m being dumb. Anyway I continued the process, the website came up, I clicked as directed and got a “Report saved” message.
This is my official bug reporting page, https://veterans-gaming.com/semlerpdx-avcs/bug-reporting/, and the last new report listed is from September 3rd 2020. There are no new posts pending approval in the approval queue, so I’m not sure if we are having a miscommunication issue here or what. Please go to this link, click ‘Create a New Report’ and copy/paste the contents of your AVCS Error Log in the comments section (say, “Open the Error Log”)
If you are unable to get that voice command to work, you can find the physical file located at:
%ProgramFiles(x86)%\VoiceAttack\Apps\AVCS\core_errors.log
If this file does not exist, or if it is empty, then please let me know here. This would indicated much deeper issues down to basic AVCS CORE profile initialization failing before even getting to AVCS4 BMS profile issues, let alone other command issues you are having.
Hello SemlerPDX. First let me thank you for your amazing VA BMS profiles. I’ve been using them for ages, with a lot of satisfaction.
I’m back in BMS 4.35 after a few months with DCS, but I have an issue. I’ve installed your latest CORE and BMS profile and the installation went smoothly. The problem is in the time necessary for BMS to react to my vocal commands. I’ve timed it and between the moment I say, for instance, “Request taxi for departure” and the moment the command is actually sent to BMS, it sometimes take 20-30 seconds. I remember your previous profile with the blue radio menus scrolling almost instantly. Now, it takes the profile 10 seconds to go from one menu page to the next. Please note that I also use the Viacom Pro profile for DCS and that it could be something in the VA settings. I hope you can help me with this because it can be annoying. Imagine the time it takes before I get an answer to my “Declare” calls
Thanks for your helpJudy
Hello there, and thanks for the kind words! I feel just awful about these keypress timing issues, especially since I believe I have them sorted out for the next version yet have been delayed for the last few weeks working on a major website update and overhaul. If you are from a country that expresses Pi as 3,14 (as opposed to my countries standard of 3.14) then this is part of the soon to be patched out (hopefully) international decimal separator issue that has stumped me for around 6 months. I honestly never knew that other countries around the world may use a ‘comma’ for this, and felt I was a bit worldly after ten years running an international gaming community Live and learn!
Any of my voice commands which use keypresses or keypress macros can be tested using a simple blank notepad - call a command, and watch the letters type out. If there is larger than 0.10 second (max) delay between keypresses, then it is indicative of the international decimal separator issue. If you are not from a region which uses ‘comma’ or ‘,’ for decimal separator, then it could be that my previous failed attempt to resolve this for some users is failing to detect which to use.
We just got several inches of snow dropped on my city, a city that doesn’t get snow most years, so everything is shut down until it melts and I guess I’ll use the time to get this new version with so many fixes and corrections wrapped up and released. I meant to have it out first week of Feb before I got so busy.
If you’re able:
A temporary solution (if you are familiar with VoiceAttack, and command editing, and won’t suffer a brainz explosion working with one of my commands) you can manually force two decimal variables to hard-set to a valid decimal number.AVCS_BMS_TimeBetweenKeys AVCS_BMS_TimeKeyIsHeldDown
Edit the profile, open the command, “[yes;yep;yup;yeah;S;U.S.;guess] _”
(under the category ‘Commands - Systems - Voice Authorization Scripts’)This command has no real actions, it’s just a recognition helper For a quick fix, we can add in a couple Decimal Variables, and then say, “yes”, and it will run and set (fix) these for you *(and say this at least once each time after you finished loading AVCS4 BMS in a new session):
Set decimal [AVCS_BMS_TimeBetweenKeys] value to 0.05
Set decimal [AVCS_BMS_TimeKeyIsHeldDown] value to 0.05Like this:
- _ -
Thanks a million !!! That did the trick
I now have a very reactive response with your profile.
I indeed live in a 3,14 country (Belgium), but my keyboard is US QWERTY, just like my default language and regional settings set to US English in WIN10.
Your profile is excellent and your service second to none :clap2: -
Another big thumbs-up from Austria (QWERTZ, German Language and “3,14”).
Your workaround works like a charm
Thank you for your awesome efforts - I’m happy to use 1.3.92b again. -
Hi Semler, here is an other post about PTT. Sorry for That
0.92b Core and v1.3.92b AVCS4BMS installed, PTT Buttons Assigned in AVCS4 BMS (UHF and VHF press and release). Initialization okW10, VAv1.8.7.12 x32 in administrator mode, Listening ON, PTT mode ON.
When I first try to say a command, recognition is green, and nothing write in the test text file. Nice, it works as expected.
UHF ON, Declare, q2 on text file, cool …
UHF OFF (release), declare again, and … q2 again… WTF… try with VHF ON ,Declare , q2 … Hummmm:?
I try with other commands and AVCS reacts as if PTT mode is OFF.I shut down VA, relauch it, try an other command, then same behaviour.
I think I do something wrong.
I read at least 3 times all the 14 pages and can’t find what is wrong.Maybe some idea, help ?
-
Another big thumbs-up from Austria (QWERTZ, German Language and “3,14”).
Your workaround works like a charm
Thank you for your awesome efforts - I’m happy to use 1.3.92b again.Thank you for the report - patch has been released, simple config update so everyone will get it next time they load AVCS4 BMS - no need to download or import a new profile version or anything. Will copy my reply here:
Okay - now I can see exactly what the issue is, and it makes sense, too. It seems that I did not add in the specific keypress variable for that command, where it was formerly (incorrect) “Check My Six”, and I added the correct phrasing to that for “Clear My Six” but not it’s keypress counterpart (7)
I’ve patched this up, and pushed it out for all users. Just follow the prompt next time you restart VoiceAttack and load AVCS, and it will apply.
I will get the next full profile update released before too long, including the fix for handling international decimal separators, and other fixes/improvements. As always, I really appreciate everyone’s patience and support through these beta test rounds… I know they are long, and I’m a bit of a perfectionist, but I’m just one guy and it’s a passion project.
-
Hi Semler, here is an other post about PTT. Sorry for That
0.92b Core and v1.3.92b AVCS4BMS installed, PTT Buttons Assigned in AVCS4 BMS (UHF and VHF press and release). Initialization okW10, VAv1.8.7.12 x32 in administrator mode, Listening ON, PTT mode ON.
When I first try to say a command, recognition is green, and nothing write in the test text file. Nice, it works as expected.
UHF ON, Declare, q2 on text file, cool …
UHF OFF (release), declare again, and … q2 again… WTF… try with VHF ON ,Declare , q2 … Hummmm:?
I try with other commands and AVCS reacts as if PTT mode is OFF.I shut down VA, relauch it, try an other command, then same behaviour.
I think I do something wrong.
I read at least 3 times all the 14 pages and can’t find what is wrong.Maybe some idea, help ?
Be sure you have set both a “PRESS” as well as a “RELEASE” for each of the buttons. That behavior would happen if you had not set the “RELEASE” commands to the same button(s) respectively. What they do is return a boolean variable to ‘false’ in this current version, so since they have not been set to a key to fire each time it is released, this bool never goes back to ‘false’, and PTT mode is basically overridden and essentially ‘off’. Get those set and you’re good to go!
I feel for ya, don’t worry, this is all on voice command in the next version, hopefully coming as early as next weekend (or sooner). You’ll all no longer have to ‘manually’ edit dummy commands just to assign your desired Push to Talk keys (or Release to Talk hehe) – this new voice controlled PTT key/button assignment system is great, just a little more testing and polish, and it’s ready for prime time. The next release may be the end of the beta rounds, with more improvements coming in time such as the teased themed GUI’s, and others.
-
Thanks for the answer Semler, but yes the log screen is very clear : both UHF and VHF are pressed, then released …
For sure I do something wrong but can’t find what …