Page 1 of 1

Bone "mouth" Lyps synch

Posted: Wed Dec 16, 2020 12:27 pm
by Ruggero123
Hi.
I have a bone that manage the animation of the mouth (created with different layers for teeth, tongue, lips etc).

I created a smart bone that when the bone goes at 180 grade the mouth is closing (each 30 grade the mouth assume different shape to emulate vocals&consonants, for example with the bone at 30° the mouth is like a U).

Now, when I have a file audio and I want to animate it, I just move the bone to 0 grades to 170 (10 grade before to close the mouth totally) and again from 170 to 10 till the audio speech is not over (when it is over I put the bone on 0 or 180 grades).

I would like to automate that when I insert a file audio. I tried with the Script > Sound > Bone Audio wiggle but it is not working properly because it is focusing on the volume of the audio (on the audio with a same tonality the script will use the middle smart bone frames without going up and down as I need).

I just need a script or a way that when I insert a file audio of 5 minutes, automatically the bone will be moved from 10 to 170 grades each 5-6 frames of the audio speech.

Do you know some script o any way to do it?

Re: Bone "mouth" Lyps synch

Posted: Wed Dec 16, 2020 2:00 pm
by hayasidist
so you just want the mouth to open and close whilst there's an audio track? if so the simplest is to cycle the animation e.g. audio runs from frame x to frame y. Keys at frame x-1: bone at 0 deg; frame x: bone at 10 deg; frame x+5: bone at 170 deg; frame x+10: bone at 10 deg and cycle back to frame x+1. At frame y: bone at 0 deg (you might want to adjust that and the last cycle to avoid a sudden snap shut from wide open but ...)

Re: Bone "mouth" Lyps synch

Posted: Wed Dec 16, 2020 2:41 pm
by Ruggero123
hayasidist wrote: Wed Dec 16, 2020 2:00 pm so you just want the mouth to open and close whilst there's an audio track? if so the simplest is to cycle the animation e.g. audio runs from frame x to frame y. Keys at frame x-1: bone at 0 deg; frame x: bone at 10 deg; frame x+5: bone at 170 deg; frame x+10: bone at 10 deg and cycle back to frame x+1. At frame y: bone at 0 deg (you might want to adjust that and the last cycle to avoid a sudden snap shut from wide open but ...)
But what if in the audio there are some second where there is no speech? Imagine the pause between sentences

Re: Bone "mouth" Lyps synch

Posted: Wed Dec 16, 2020 3:24 pm
by Maestral
It could easily be just a typo - try 'lip sync' for search, either here or in browser