I used programAB + webkitspeechrecognition to call these methods. I am on my way to utilizing my chatbot to control Inmoov entirely.

Thank you Grog for helping me to figure out passing the response text to my jaw moving script.

GroG

8 years 9 months ago

Great Progress Tdp ! ...
The voice you picked out sounds like HAL :)

More Vids ! :D

not yet brotherbrown but I will add them. 

I basically used JHacks original talk() script before the mouthcontrol service was created. It works really well with chatbot now that i figured out how to pass the respnse text to the method.

That's amazing!  I love seeing these sorts of videos!  Great work!  Did you use OOB tags to trigger the arm movements?  We'll see about fixing the actual mouth control service...  It's been broken since we refactored the speech synthesis services...

tdp378

8 years 9 months ago

In reply to by kwatters

Yes sir I did.  Right now i am just calling some methods I created in MRL. Pretty simple actually. 

below is my aiml file

<?xml version="1.0" encoding="UTF-8"?>
<aiml version="1.0">
 
<category>
<pattern>CURL YOUR LEFT ARM</pattern>
<template> curling my left arm
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>curl()</param>
</mrl>
</oob>
</template>
</category>
 
<category>
<pattern>RELAX</pattern>
<template> relaxing
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>relax()</param>
</mrl>
</oob>
</template>
</category>
 
<category>
<pattern>ATTACH EVERYTHING</pattern>
<template> attaching everything
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>attachEverything()</param>
</mrl>
</oob>
</template>
</category>
 
<category>
<pattern>DISCONNECT EVERYTHING</pattern>
<template> disconnecting everything
<oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>disconnectEverything()</param>
</mrl>
</oob>
</template>
</category>
 
 
</aiml>