FoxVox Free voice control software for BMS
-
-
@foxster,thannks!
-
hi @foxster , just tried installing v 1.1 after uninstalling the old (beta) version and sadly foxvox crashes on start (logs attached).
I exchanged headsets in preparation for our LAN so that might have to do with it.
Thanks for this great tool!
Uwe
Object reference not set to an instance of an object.
Inner Exception: Empty
at FoxVox.MainWindow.<OnClosing>d__52.ppVM8Zi4DVS5QUO7lw9(Object )
at FoxVox.MainWindow.<OnClosing>d__52.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) -
@hoover It’s possible it may be a problem with the library file since you had the v1.1 beta installed (sorry)… v1.0 user migrating to 1.1 shouldn’t have the issue. Try renaming the library file or moving it to a temporary location outside of FoxVox and see if the program loads as FoxVox won’t be able to load the invalid library file. Let me know if this works. If it does and you can get me a copy of your library file, I can fix it for you.
-
@hoover Also make sure you aren’t running two instances of FoxVox at once - it seems to cause an error and it wouldn’t work right anyway.
-
Sorry for being a bit dense, but which library file are you referring to?
I checked my foxvox folder, it looks like this:
I also checked my /users/hoover folder for files named “foxvox”, but the search only came up with the msi installer file (from Downloads).
thanks, Uwe
-
PS: When running the installer I also get this obnoxious warning “windows protected your PC” but I allow the installer to run anyway. I wonder if this might have something to do with it.
I just tried a complete uninstall, redownload and re-install but sadly the error persists.
Cheers, Uwe
-
@hoover Working on the fix for you. V1.1.1 coming soon…couple of other minor fixes with the newest update. I’ll keep you posted.
-
Thanks @foxster , much appreciated!
Cheers, Uwe
-
For those interested, v1.1 introduced a problem with keyboard key mapping on the PTT. Released v1.1.1 today and it’s available for download. Sorry - it happens! I’ll keep it updated though
-
I just removed 1.1 beta from my machine, rebooted, installed 1.1.1 noticing it didn’t come with the default BMS library as it did before (if I’m not mistaken)
I went and downloaded the separate library that is provided via google drive link above, assigned my PTT combo, loaded the library and got an error about the “dictionary not matching the voice recognition grammar” or similar (sorry, I didn’t capture a screenshot).
I rebooted again and now I’m getting the same error as before when starting foxvox:
after moving the library out of the way, foxvox starts up normally again.
Some more debugging showed that while my win10 language is set to english, it has only installed the german speech recognition & package (i don’t know why) and it refused to download additional speech packages over my “metered connection” (which I’m using to prevent forced updates on win10pro).
This condition probably led to the grammar error above, which now seems to be resolved after installing the english speech recognition pack, so right now all is looking good on my end
Thanks for the update foxster & for all your work on this project.
All the best,
Uwe
-
Actually it doesn’t come with or install a default library…it loads the last file used which is stored in a settings config file automatically saved on exit. The config file is located in <Root>\users\<username>\AppData\Local\FoxVox\settings.ini and it stores a key with the library path.
Your explanation indicates something in the library file was breaking it. I’m pretty sure it was the change of the PTT Joystick ID keys in the Beta Version you ran but I’d need the library file to confirm. Anyway, glad we got it resolved. In the meantime I fixed the issues with the PTT keyboard keys binding. I didn’t mention it but you can use keyboard keys for PTT separately or in conjunction with joystick inputs, but the RawInput API changes I implemented in v1.1 caused a bug. I’ll look more into handling corrupted library failures more gracefully, but it should be a very rare issue.
As for the language packs, FoxVox should support all languages installed so if you want to give it a go in German for any reason, it should work. It uses the current culture of the computer however for recognition and I didn’t build in a way to change that. Let me know if we need a v1.2
-
@foxster said in FoxVox Free voice control software for BMS:
Actually it doesn’t come with or install a default library…it loads the last file used which is stored in a settings config file automatically saved on exit. The config file is located in <Root>\users\<username>\AppData\Local\FoxVox\settings.ini and it stores a key with the library path.
Your explanation indicates something in the library file was breaking it. I’m pretty sure it was the change of the PTT Joystick ID keys in the Beta Version you ran but I’d need the library file to confirm. Anyway, glad we got it resolved. In the meantime I fixed the issues with the PTT keyboard keys binding. I didn’t mention it but you can use keyboard keys for PTT separately or in conjunction with joystick inputs, but the RawInput API changes I implemented in v1.1 caused a bug. I’ll look more into handling corrupted library failures more gracefully, but it should be a very rare issue.
As for the language packs, FoxVox should support all languages installed so if you want to give it a go in German for any reason, it should work. It uses the current culture of the computer however for recognition and I didn’t build in a way to change that. Let me know if we need a v1.2
First of all, thank you on my behalf and on behalf of our entire community for the great task that has been given in offering us a program for FALCON BMS free and at no cost, investing your time and dedication.
In our case, we are a Spanish-speaking community, we cannot fully exploit your program, since our win10 operating systems are in Spanish, the graphical interface can be added, although the voice recognition package in English can be added, but even so the The operating system tells us that the language of the graphical interface has to coincide with that of voice recognition and when we open its voice recognition program, it also tells us through an announcement that does not match the language of the operating system with that of voice recognition. .
Any advice you can give us in this regard.
GREETINGS from the Caribbean.
-
I’m no expert in this regard but I think it’s not so easy to use other speech recognition engines when they differ from what windows considers your OS language. I know that voice attack has an option to use alternate engines, but I have no idea if that would allow running the GUI in one language and the speech recognition in another.
Typical Microsoft brain damage if you ask me, sorry I cannot offer any further advice at the moment. I run win10pro in English, and one might argue that with English being the international aviation language anway, a well-versed Viper pilot should have no issue with this. I for one would rather not use voice recognition than having to command my AI folks around in German, this would sound really silly
When I was still on win7 which didn’t allow switching languages unless you went enterprise I half managed to train the voice recognition software to accept spoken english input, mostly by lots of training sessions and excluding the german words it “recognized” instead.
All the best,
Uwe
-
@hoover said in FoxVox Free voice control software for BMS:
I’m no expert in this regard but I think it’s not so easy to use other speech recognition engines when they differ from what windows considers your OS language. I know that voice attack has an option to use alternate engines, but I have no idea if that would allow running the GUI in one language and the speech recognition in another.
Typical Microsoft brain damage if you ask me, sorry I cannot offer any further advice at the moment. I run win10pro in English, and one might argue that with English being the international aviation language anway, a well-versed Viper pilot should have no issue with this. I for one would rather not use voice recognition than having to command my AI folks around in German, this would sound really silly
When I was still on win7 which didn’t allow switching languages unless you went enterprise I half managed to train the voice recognition software to accept spoken english input, mostly by lots of training sessions and excluding the german words it “recognized” instead.
All the best,
UweWe have seen that it is very complicated, even in my case I have the version of win10 SL, which only supports a single language and even so to change the language in the graphical interface it takes entering the register and other somewhat delicate issues.
The same here we want to say the orders in English, but we find this incumbent. We have even tried to train the detection engine but it does not work when it is from one language to another.
So we are still in combat.
Greetings.
-
@viper-0 I’m happy to be able to share something with a great community where there are a lot of others doing the same. I always felt that there would be a demand to support multiple languages but I never got around to testing it. Thanks for letting me know about your experience.
I will take a look at making culture recognition more robust and flexible so they can be assigned and match between the graphical interface and speech recognition modules. I also have to consider what happens with mixed languages also as that may be important, particularly with BMS. Keeping in mind that the tool is only a couple months old and I wanted to get a release out sooner rather than later, I couldn’t address everything up front but I’ll certainly take a look at this and keep you notified.
Thanks for the great feedback, and best wishes!
-
@foxster We really like to exhort all those who give a little bit of their life to support and strengthen this community of military aviation simulation and much more when we are offered such a high quality simulator made from the heart.
So as a representative of my community in my country and my name, we thank you for every minute of your time invested in this wonderful community.
Greetings from the Caribbean.
-
@viper-0 Here’s a screenshot of the new language recognition settings in the v1.2 Beta. The language setting is stored within each library file. You’ll get an error message if you set a language that is not installed whenever voice recognition is started. Hopefully this moves it in the right direction for our multi-national community!
Once it’s through Beta I’ll get it pushed out to everyone. Best Regards.
-
@foxster said in FoxVox Free voice control software for BMS:
@viper-0 Here’s a screenshot of the new language recognition settings in the v1.2 Beta. The language setting is stored within each library file. You’ll get an error message if you set a language that is not installed whenever voice recognition is started. Hopefully this moves it in the right direction for our multi-national community!
Once it’s through Beta I’ll get it pushed out to everyone. Best Regards.
Excellent, really very happy here for such good news.
Anxiously waiting for the beta to pass to get our hands on it.
Greetings, pilot.
-
@hoover / @VIPER-0 Thanks for trying this out. I’m experiencing an error as well - unable to use an installed language pack. The problem is that Windows doesn’t seem register the installed language pack in a way the System.Speech libraries expect to see it. I’ve attached a screenshot showing two languages installed on a computer with all options including SR but only the English language engine is registered on the machine (see the Registry key and Windows folder structure in the attached image). Apparently there has been a change in Windows 10 with the way language packs are installed and used.
I don’t know exactly what MS is doing with speech recognition, but I think things have become messy after Cortana. Since the installed language isn’t registered as an engine to the system, the Recognition Engine throws the exception and the user is unable to use that language. Further investigation will be required but until I can find a way to use the installed languages, all I can do is limit the language options select list to only display those that will work.