Hi everybody.
It's been a while since I've posted, so before I continue I just want to say a big hello to the regulars on here such as Alan, Dave S and David C, Richard, Will, Justin, Patrick and all the others... you know who you are. And of course a big hello to DJ, Jeremie, Alan and the rest of the team. I hope that you are all doing well.
So after a year of laying dormant, I decided to blow the cobwebs away and fire up my Astromech Droid "E4-B4". So far so good but needs a little bit of fettling which leads to the point at hand to an issue I need some help with.
I fired up E4's Acer W3 tablet with the old version of ARC still installed, and also installed ARC on to my Alienware 15 (2016 version) laptop (Windows 10) with the current ARC version. The W3 is not holding its charge so I'm working with the Alienware. Couldn't connect the EZ-B v4/1 at first, but that was down to AVG antivirus so it's disabled for now and connection is all good.
The problem i can't get my head around is with the speech recognition control. I've set up Microsoft speech recognition (S/R) on the laptop, done voice training, set up the mic (type, levels etc) and checked that the mic is enabled. I've made sure that the S/R in the laptops control panel is set to "Microsoft Speech Recognizer 8.0 for Windows (English - UK), and the ARC S/R control is set to en-GB. The problem is when I save the en-GB setting on ARCs S/R control. First, when I start up the project, I get the following pop up message...
Quote:
Voice recognition was not able to start. System.Exception: There is either no listening device or your operating system is not supported at EZ_Builder.UCFormSpeechRecognition.knktDlvxCWI(Object ,EventArgs
Second, when I clear the pop up and continue, select en-GB in the S/R confit menu and save it, I get the following debug error message...
Quote:
Set Dictionary Error loading phrases (custom): The Language for the grammar does not match the language of the speech recognizer.
I have tried setting the laptops speech properties to "Microsoft Speech Recognizer 8.0 for Windows (English - US) and ARC S/R control to en-US just to see if that would work, which doesn't show any debug error message, but doesn't work. I change back to en-UK, and get the same debug message as before. I have also tried restarting ARC and restarting the Laptop as well, to no avail. I've gone through the tutorials again just to familiarise myself with the control again. The actual Microsoft Speech recognition program is working on the laptop as I can open and close programs, dictate text on Notepad etc.
So does anyone have any ideas or suggestions to what I can try to get the speech recognition up and running again, maybe something like an update or installation for windows S/R or something? Any help, as always, will be appreciated.
Many thanks guys.
Steve.
do you change the name off the download? the file can get corrupt , if you change the name.and not working good.
Well, sorry the Nuck option didn't work. It was worth a try.
I see in your screen grab that the spectrum analyser in the S/R control is now black and showing your voice as you speak. That means that that control is now hearing your voice. Are all your error messages gone now? What exactly are you trying to have the S/R control do?
Perhaps now your issue is something with what you want the control to do. Look inside the control's settings (send a screen grab if you can) and look to see if you have anything in there that would keep it from running like something in the enable phrase command box. Look at the script you (should) have loaded to see it that is written properly. Even so, if you have a bad script you should see a response in the debug window of the S/R control.
Also (sorry, I lost track) did you try changing the language setting inside this ARC S/R control to match the Windows and Window's S/R language setting? Perhaps you can change all three to the English US language and try that if you haven't tried this already.
Thanks Patrick.
There was no need to change the name as I have repeatedly been using new projects so there's nothing there to be curupt.
On another note, I've just installed ARC onto my desktop PC running Windows 10. Started a new project, added speech recognition control... and it works. So it's deffo the laptop that's throwing up these issues and something somewhere in the system that's not talking (pardon the pun) to ARC as it should. Just wish I knew what and where to look next.
maybe the speech engine from the laptop itself ?
it seems like there is a component of SAPI 5.4 that is missing (As PTP pointed out, Windows built in speech reco uses One Core, not SAPI, so it works).
Unfortunately, it is supposed to be installed by default in Windows 10 so doesn't seem to be available as a separate download. I have been searching for sample applications you could try in order to validate but not having much luck (also thinking that installing anothr application that uses SAPI 5.4 could potentially install any missing component, or at least provide a verbose error message telling you what is missing). There is a page on MSDN that describes some sample apps, but no links to download: https://msdn.microsoft.com/en-us/library/ee125085(v=vs.85).aspx I think they might be part of the Microsoft Windows SDK but I haven't been able to verify that.
Alan
Hi Dave.
You are right, it deffo was worth a try.
The screen grab in post #32 is showing my laptops screen (behind and top of the grab) which is showing white analysers, and my W3 tablet (sitting in front) showing that's working with the black analysers (lower part of the grab). Yeah I did try changing the language in the config menu a few times now, along with system language.
When I'm doing these tests, I'm just using the preset phrases already populated in the S/R control and I use the "Robot, show phrase list" phrase. I have also tried a couple of simple "print" scripts too.
Hey Alan.
Many thanks for looking in to it. Much appreciated
. After all the elimination tests I've carried out, I think you and ptp maybe right about a component missing.
I wonder if it's worth backing everything up and re-installing Windows 10 on the laptop again? Not something I really want to do, but might be worth it.
It might be worth it, but I would wait for PTP to chime in again first. He knows this stuff pretty well and might have some ideas.
A note about your W3. The W3 can be upgraded to Wndows 10, but at this time, the latest "Creator's update" is not compatible with the CPU. Supposedly Acer and Microsoft are working on a solution because Intel is not interested in providing drivers.
Alan