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

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!

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

PRO
Synthiam
#9  

Maybe an optional parameter can be added to the say command. Or a plugin that accepts a controlcommand()

#10  

Optional parameter would be great. I have a long list of plugins I want to write when I have some time to start learning C# that I know the basics of what I need to do. I wouldn't have a clue how to write a speech plugin.

Alan

#13  

Wow! I'm impressed. Thanks a lot DJ!