Code2.2 — Physical Computing
Well, in this post I want to tell how I made my “voodoo” doll talk.
I have started with speech synthesis, so ELIZA could talk:
Introduction to the Speech Synthesis API
Basically, it is all about these few lines of code:
Next step was to add voice recognition:
Voice Driven Web Apps: Introduction to the Web Speech API
Then I had to connect Arduino and ELIZA software.
So I had a talking ELIZA and a code which could read the Arduino signals; I had to connect them via API. I have done that using PubNub: