Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

How To Have Aimlbot Speak Response

I have many programs that I created with the AimlBot / Bing Speech recognition programs. I would like the AimlBot to speak the response the same way the PandoraBot speaks its responses. 

Thank for any help?

Ang


Related Hardware EZ-B v4
Related Control AimlBot

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!

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
PRO
Belgium
#1  
Ezang

look at the top for ez script with sayezb.

User-inserted image
#2  
@Normad 6R Hi just wondering are you still using ARC or have you installed the bata ARC.  You have to be using ARC to test this.
PRO
USA
#4   — Edited
Nomad 

I have many programs that I created with the AimlBot / Bing Speech recognition programs, They all worked well.

When I asked a question, I received an audio answer.
Aiml Bot worked like Pandora Bot

understand?
PRO
Belgium
#5  
EZAng

ah sorry i though  it was desame.
PRO
USA
#6  
something changed

Pandora Bot, you just talk and it answers

Aiml Bot use to do the same thing
PRO
Synthiam
#7  
To make AIML bot speak, you will need to add a piece of code that takes the variable holding the response, and have it speak.

1) Add the AIMLBot control to your project

2) Press the GEAR icon for configuration
User-inserted image


3) Press the Response Script button. This is the script that will run when a response is created
User-inserted image



4) Add this code, since you're using ARC we should use JavaScript because it's much faster...

Code:


Audio.sayEZB(getVar("$BotResponse"));

User-inserted image
PRO
USA
#8   — Edited
I added the java code it loaded correctly


Here is what I did:

Bing Speech control add:

ControlCommand("AimlBot", "SetPhrase", $BingSpeech)

Aiml control add

java
Audio.say(getVar("$BotResponse"));

Above works with PC

Audio.sayEZB(getVar("$BotResponse"));

Above works with ez -robot


now it works, trial and error,  happy I learned perseverance a long time ago  :-) 

thanks
#9  
I just tried this, its pretty good. One question...I have to keep manually start/stop recording under the Bing Speech tool, How do I make it work automatic?
PRO
USA
#10  
I always have to click the Bing Speech Recognition to ask it a question, then I just get some kind of automatic answer.
PRO
USA
#11  
In Bing Speech Recognition put:
ControlCommand("AimlBot", SetPhrase, $BingSpeech)
In Recognized Script
User-inserted image




In AIML BOT
Put in java script:Audio.say(getVar("$BotResponse"));


User-inserted image



Save that’s it, good luck

EzAng