
leonardo46
Italy
Asked
— Edited

I added a mouth to my robot. I'm trying to let it move while speaking. I tried with "talk servo" and speak synthesis. It works, but I found 2 problems:
- at the end of the sentence the mouth always remains open. servo positions are : min =110 (mouth closed), max=140 (mouth open). I tried checking "invert" in the talk servo configuration window, but this way it doesn't move at all. How should "invert" be used ? Can I in some way force the mouth closed at the end of the sentence,?
- For long sentences the mouth stops moving well before the sentence ends. The sync between speech and servo movement is not good. Could it be made better ? Sound servo with Soundboard v4 might give better results ?
Split your sentences into smaller ones using SayEzbWait()
OK, DJ, this seems a good compromise. I wonder why it's so difficult to get a good sync between speech and mouth movement. Is it possible to make some improvement , or the PC itself, being a non-real-time system, makes the job difficult or even non possible ? Some hardware solution (connected to ezb speaker) might be better.
Thanks to merne, who suggested some test, that unfortunately didn't work.
@Lorn, I hope DJ's suggestion works. I also hope everything works out for you and don't give up Dj has made a great product.
You are welcome. Cheers
DJ suggestion is good . and it works. This way long sentences can be split into shorter ones making the setting process easier. Ezb is great. Using it you can give life to your robots with a few clicks, without using complex hardware and software. I'm asking DJ if some improvement in ezb software is planned , that might make talk servo work with any sentence, without the need to fine-tune everything each time you add a new sentence.
@lornardo46 you should not need to fine tune every time you add a new sentence, once you have the settings right in the talk servo. The art is to break up long sentences into shorter ones in the script, using the sleep() command in-between, as JD has highlighted.
I solved my problem with the compromise, suggested by DJ, of splitting the long sentences. It's probably the only possible way without the use of extra hardware.
Thanks to our guru.