Hello again! I'm using the manticore version and I don't know how to make the inmoov talk physically(synchronized speech with mouth movement). I can talk to MarrySpeech via python in MRL. Are there any resources on this? The only video I could find: https://www.youtube.com/watch?v=jswk8lDtGOc
(Version is different)

GroG

3 years 4 months ago

Hello Aloyos,
I believe you attach mary to the mouth control service.

In Python it should look something like this as an example:
 

mouth = Runtime.start('mouth', 'MarySpeech')
mouth_control = Runtime.start('mouth_control', 'MouthControl')
mouth_control.attach(mouth)

mouth.speak('is my jaw moving?')

 

hope this helps...

I guess I didn't do what you said (attach mary to the mouth control service). How can I do that? When I write this code to the console, there is no physical movement

if the following in the config file "Speechengine=MarySpeech"I did

hairygael

3 years 3 months ago

Hello,

Did you activate the head in the configs? Also make sure to select LeftSide or Full in the main configs.

Normally once the head is activated, it also controls the jaw movements automatically with mouthControl according to speech.

You can tweak to adjust the jaw movements to fit correctly the speech via these config settings:

MouthControlJawTweak=False

MouthControlJawdelaytime=1
MouthControlJawdelaytimestop=1

MouthControlJawdelaytimeletter=1

 

Thanks for your help, I noticed that the speakers are broken, I will buy a new one.
As a final question, I'm using different pins than the pin on "Default Hardware MAP". Because I am using Arduino uno. Do I need to change this from anywhere or is it enough if I set it from within the program?

If you need to change pins, you should modify that in the config files in the advanced configuration settings.

eg for the skeleton_head.config:

[SERVO_PIN]
jaw=26
eyeX=22
eyeY=24
neck=12
rothead=13
rollneck=12