Asked
— Edited
I've been investigating switching my InMoov robot over to ez-robot control. I'm liking what I've seen so far.
Question; Is it possible to make the mouth of a robot move in sync with speech/sound with ez-robot software?
Thanks,
Bob
It's something that I've had to get used to when writing scripts and actions for the v4 as my different animations (actions) usually run at different speeds. I have to reset the speed for most of my scripts to "0" at the beginning to make sure that one script isn't effecting another.
The control that Anthony and the original poster is referring to is the servo Sound (EZ-B). The control will use the audio that is being streamed to the EZ-B v4 to move the servo. The settings are Refresh and Gain. The Refresh speed is how often the audio is sampled to move the servo. The Gain is how much the volume is amplified when converted to servo positions.
Those two numbers will need to be changed.
If you are sending an MP3 file of music, you cannot expect the servo to move with the vocal - because the music is a giant chunk of audio.
You can use the EZ-Script command SAYEZB() to speak audio, and the audio will be streamed through the EZ-B v4 and the Sound servo (EZ-B) will move the servo to the audio
If it's like the PC sound servo it sounds like servo speeds may need adjusting along with the bits DJ mentioned.
If the servo isn't moving correctly then I'd say look at the gain, the servo moves relative to the volume of the audio. If the gain is too low it will barely move, if too high it'll move high and stay there.
I presume it's along the same lines as the bar on a graphic eq. display, when high the servo moves higher, when low it moves lower. If you set up the gain incorrectly it may remain either too low and barely move or too high and barely move.