Audio - Talk Servo

How To Add This Control To Your Project

Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the Audio category tab
Step #5) Press the Talk Servo icon to add the control to your project


Description

This control will bind to the Text To Speech engine. When ever a text to speech ez-script command is executed (i.e. Say, SayEZB, SayWait, SayEZBWAit), this control will move the specified servos to simulate a mouth movement. If your robot has servos connected to simulate a mouth, this control will move those servos while speaking.

There are parameters to configure for the voice and voice settings selection in this control. Every voice and different voice settings (i.e. speaking speed) will require custom settings. The settings are delays for each type of audio. For example, there are delay specifications for Constants and Vowels. The mouth is closed when a Constant is detected and opened when a vowel is detected. The mouth is again closed at the end of a word or sentence. The delays for each of these settings can be specified to tune your effect.


Related Tutorials & Activities

Sound Activated Circuits (leds, Lamps Etc)

One item that crops up often is sound activated LEDs or lights. And while the Sound Servo control in EZ-Builder can handle this it is not perfect. So some clever scripting needs to be used to activate/deactivate/dim the lights or LEDs. A quick little example of the outcome of the script initially done for Rex's project Questor. So how is it done? It's very simple to be honest. First add the Sound Servo control and set it up as below. Notice how the port...

Last Modified on 9/15/2015

Created by Rich


Related Articles: N/A