met4citizen / TalkingHead

Talking Head (3D): A JavaScript class for real-time lip-sync using Ready Player Me full-body 3D avatars.
MIT License
346 stars 106 forks source link

Mood ignored? #19

Closed JPhilipp closed 6 months ago

JPhilipp commented 7 months ago

Hi! When trying the mp3.html example and changing the avatarMood from 'neutral' to e.g. 'happy' or 'angry', it will still remain neutral.

(This even happens if I amend the code to not cause a 'user gesture required' warning in Chrome.)

Help please?

met4citizen commented 7 months ago

Yes, you are right. Thank you. I will fix it. In the meantime, you can change the mood by calling, for example, head.setMood("angry").

JPhilipp commented 7 months ago

Works great, thanks!