Asked — Edited

Need Some Help With Speech Rec

Need some help with speech recognition

I have never had problems with this before but I can not get it to work at all now. I've had it running great in the past but now nothing. I reviewed the tutorial but no help. I have set up my mic and levels correctly and my Bing speech recog works fine but the EZB plugin does nothing. I look for the variable in the variable monitor and it is not present there either.

Has something changed?


ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

PRO
Synthiam
#1  

Nothing has changed - what control are you using? The Speech Recognition or Bing Speech Recognition? or Advanced Bing Speech Recognition?

What version of ARC are you using?

Can you share a project that i can take a look at?

Is your microphone set as the Default Default in windows?

Do you see the VU meter displaying the graph window when you speak? That shows it can hear audio

Is there any errors or warnings in the DEBUG dialog when you load ARC and the control? Add the debug dialog to view. Project -> add Controls -> Genera -> Debug

#2   — Edited

Using the latest EZB Mic is set as default. VU meter works fine and I adjusted my mike input to 87, like the tutorial. I went through the Windows 10 training lessons as well. I even tried re configuring the mic via the option in the plugin.

ex.EZB

PRO
Synthiam
#3   — Edited
  1. I see you're using the generic speech recognition control. What variable were you expecting to see?

  2. The Auto Position is not an Auto Position Movement Panel, so there's no way any other control knows how to instruct it to move - this might be what you were expecting?

I made a little video that might help? Hope so anyway:D

#4  

1++ DJ. I love it when you jump in and help. I always learn something.

#5  

There is a limitation to the procedure DJ has suggested. Your project can only have one [url=https://synthiam.com/Software/Manual/Auto-Positioner-Gait--16057][color=#ce3991][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"]Auto Position[/font][/color][color=#ce3991][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"][color=#ce3991][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"][color=#ce3991][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"][color=#ce3991][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"] [/font][/font][/color][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"][url=https://synthiam.com/Software/Manual/Movement-Panels-17372][color=#ce3991][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"]Movement Panel[/font][/color][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"], control. However you can have as many Auto Position controls as you want. I personally have several [size=3][font=OpenSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"]Auto Position controls. Each control operates a different part of my robot. We can add a Auto Position Movement Panel but we can't import more then one of the Auto Position Controls if they use different servos. [/font][/size][/font][/font][/font][/color][/font][/color][/font][/color]

#6  

Also, you can use a Auto Position Control with your Speech Rec control. You need to write a script behind each phrase you want to say to call the action in the Auto Position control you want to run. So inside the Speech Rec Control and next to the phrase, click onthe pencil icon and write something like this:

ControlCommand("Auto Both Arms", AutoPositionFrameJump, "Center_Both_Arms") #This will initiate servos to keep them from jumpung.
Sleep(1000)
ControlCommand("Auto Both Arms", AutoPositionAction, "Both Ars Out")
PRO
Synthiam
#7   — Edited

Dave - you can still have as many Auto Position controls for different parts of your robot following the standard ARC procedure that I outlined above. That procedure being "Using a Movement Panel to handle moving the robot". And by moving, i mean physical location movement of the robot (i.e. how the robot moves Forward, Left Right Stop, etc). If you don't use a movement panel, then you miss out on a huge benefits of the software. Such as the camera tracking, joysticks, wiimote, default speech recognition commands, and more...

The Auto Position control I used in the video is a Movement Panel. Again, it registers itself as a Movement Panel throughout the software so all controls know how to make the robot move with simple commands like Forward() or Reverse() or Stop()

A movement control is how your robot moves. Your robot can only move with one method of locomotion and THAT is the movement panel.

Now even though you have an Auto Position movement panel, there’s nothing stopping you from adding a hundred regular Auto Position panels.

And, you can chain them together with ControlCommand(), if you needed to.

But David, in your application you would NOT use an Auto Position Movement Panel because your robot moves through a different means of locomotion. In your case, David, you would use an HBridge or Sabertooth movement panel. (I'm guessing that you use one of those two physical locomotion methods)

All I’m doing in these responses is duplicating exactly what’s in the manual pages or Movement Panel description:).

#8   — Edited

Thanks DJ, I appreciate the help. Unfortunately I think we leap frogged my original problem. I understand how to use the AutoPosition function. I usually use the speech recognition window to trigger a script that executes various AutoPosition calls. I did not have them in this example program because I had not gotten there yet. I could not get any reaction out of the speech recognition box. This is not an AutoPosition question. I was just trying to get the speech recognition control to respond to the items that are already baked in there, for example "Robot show phrase list". My control remains dark with no response. Yours shows confidence values and an indication it was doing something. I just have a non responsive dark box.

I figured I could track the control variable $Speechphrase or $confidencevalue in the variable monitor but they do not show. I can not remember if they were ever there in the past.

I know my mic is working because I can set up the Bing speech recognition with no problem.

For now my control just looks like this no matter what I say to it.

User-inserted image