Asked — Edited
Resolved Resolved by Rich!

Limitations With Sayezb Command?

Good Evening,

I am a new with Ez-Robot. I am impressed. My question is trying to get the onboard sound to say something with in a string value. Can ARC do that?


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Canada
#2  

You can download ARC for free and play with it no need to have an EZ-B to use ARC I spent most of my time playing with it with out powering up my robot and I get it to say all kinds of things using the Say("$Your_String_Here") command.

I LOVE IT Its just to EZ some times its hard for me to get it to shut up;) lol

#3  

Try this...


$value="I am a robot"

SayEzb{$value) #out the EZB4 board speaker

Say($value) #out through your PC speakers

United Kingdom
#4  

Or a more complex example...


$temperature = HTTPGet("http://192.168.0.100/temp.cgi")
$voltage = GetADC(ADC0)

SayEZB("Good morning, it is " + $time + " it is " + $temperature + " degrees outside.")
SayEZB("Your battery is holding " + $voltage + " volts")
#6  

Wow! Thank You for the assistance! That was quick!

#7  

Any idea on how to have the text being sent to a second EZB's audio output?

#8  

As far as I can tell, the SayEZB script command only works on board 0 like Movement Panel commands.

If you have pre-recorded utterances, than the SoundServoEZB can be defined to use different boards and you can trigger them with ControlCommand script commands.

Being able to direct speech to a particular board (or defining a Movement Panel to something other than board 0) would be helpful on larger bots where one EZ-B needs to be in the body to control wheels but another can be in the head producing speech.

Alan