
leonardo46
Italy
Asked
— Edited

I'd like to experiment servos simulating the robot mouth moving while EZB is speaking recorded messages. There is " talk servo", but this control seems to be only for speech synthesis. There's " sound servo", but this doesn't seem to be for recorded messages. How can I get servo movement from the pre-recorded messages that are now being spoken from soundboard v4 and EZB speaker? Please give some example.
Sound Servo(EZB) doesn't work for you?
Adding "sound servo" to my project, I see a window with a waveform of the sound from the PC microphone and the servo moves following that sound. But i need to make it move following pre-recorded messages activated by scripts. I don't know how to do that.
Use this: https://synthiam.com/Tutorials/Help.aspx?id=226
It moves servos based on the audio played from the ezb.
Ok , DJ, tutorial man ! there's not much there to let me understand. Something happens with "sound servo" , but movements are very small. "update speed" is in milliseconds , (100-60000 ? very long times ).The servo position is periodically updated to the audio signal level ? What's "scalar" meant for, and what's the meaning of those numbers (0.25 to 9.75) ? The servo moves by itself , with or without sound in EZB (!) No mic in the PC. What's the use of "variable name" ? for scripts, I think, but how should it be used ?
DJ, The servo always moves, with or without sound in EZB. Speaking to the PC mic the servo moves well, but never stops moving, even in perfect silence. Playing a pre-recorded speech, no mic, EZB speaks well, but the servo moves only a very small amount or nothing at all, and never stops, even if EZB finishes playing.
Are you sure you are using the right sound servo object? There are three different Sound servo objects (plus talk servo).
Sound servo (PC Mic) reacts to sounds the PC microphone hears.
Sound servo (PC Speaker) reacts to sounds played by the PC, whether originated from EZ-B or other applications)
Sound servo (EZ-B Playback) reacts to sounds sent to the EZ-B, either speech or sound script or objects that play to the EZ-B speaker.
Talk servo reacts to Text to speech, either on the PC or EZ-B, but only for speech, not for other sounds.
Alan
Use the question marks in the software to understand functions. Once you learn or have your question answered, create a user tutorial to contribute to the community ecosystem. The ezrobot product is supported by the community. For example, you have asked 12 questions and created 0 tutorials. When a question is answered, an email is sent with information inquiring you to create a tutorial with what you've learned to help others.
If a tutorial is missing, feel free to create one based on your new knowledge.
it's how we share and grow!
For more information regarding the control in question, click here: https://synthiam.com/Tutorials/Help.aspx?id=226
Or use the ? Question mark next to the X close button. If no user tutorials exist, ask in the community like you just did. Once you get assistance, contribute back to the community by creating a user tutorial to assist others.
User tutorials are connected to controls - with the 12 questions you have had answered, user tutorials will greatly affect others
Alan, I couldn't imagine that there were 2 different controls, both named "sound servo", one in the servo section and one in the audio section ! and with the two windows absolutely identical ! I suspected something when I noticed some reaction to the room noise taken by the PC mic. I have learned that I need the one "for ezb playback". Now I need to understand "update speed","scalar", "variable name" in the configuration window and how such parameters can affect servo operation.
To DJ. Sorry, I consider myself very ignorant about EZB, and I never thought I could write tutorials to teach someone else! But I can try , in the specific issues i have learned.