Asked

Voice Variable In VR

Hi all

Is there a way to fire a voice command... like say Hi, then the script will say what is your name... then you say your name, and the VR holds that variable (e.g. your name) and the EZ says the variable back?


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

PRO
Portugal
#1   — Edited

Yes, its very easy. Try it.

#2  

A couple questions first,

To clarify, you want the robot to repeat back the name spoken to him. The name could be any name?  Are you using Bing VR?

I haven't thought this through yet but when you speak a work (or in your case a name) to Bing is will return what it hears to you in text form. You will see what is returned in the control window. Perhaps there is a way to use that returned text to make the robot say what is returned? Perhaps by some some how capturing Bing's returned text and then using the Say( text to speech ) command?

     Speaks the text that is specified within the brackets out of the PC Sound Card in the background. This command does not block, the script will continue to execute.

     Example: Say("Hello, I am a robot")

I think I see why you are asking about capturing the returned name into a variable. You could use that variable to use the Say command to repeat it.

#3  

Hey Dave... so I am grabbing API data, it shows different data per a variable (in this instance a name)... that name is tacked onto the json string... so I would like B9 to

  1. Say what is your name (that is easy lol)
  2. EZ wait (that is easy) for reply
  3. you speak your name could honestly be any word in this example
  4. that spoken word is stored into a variable
  5. I append that variable to my json string

I already know how to have EZ wait for a verbal command (e.g. like a yes no, or a multiple name thing) and then based on the input (e.g. if response = no) do something...

#4  

Ahhh maybe i will look at the Bing VR, that may do what I want, i was using the standard VR from EZ:)

PRO
Synthiam
#5   — Edited

You’re on the right track with bing speech recognition. If you’re having conversation, also look into the open ai robot skill

but I do want to clarify.

VR = virtual reality

Speech Recognition = speech recognition

:)

also, there is something called Voice Recognition sort of. It’s the process of matching sound to a voice. So the robot would know who’s speaking. That technology has mostly renamed to Speaker Recognition over the years. Not sure why lol

so if you do say voice recognition, you’re talking about identifying the voice and that’s very different than speech recognition.

Try Bing Speech Recognition robot skill. It can detect anything.

#6  

Woops, yes. VR. Voice. Sorry. Slip of the mind/keystroke.

PRO
Synthiam
#8  

Ya that open ai works pretty good.

We’ve been circling around the speaker recognition from azure for a while. Not sure an eta though