View Full Version : LipSync using Position with linear expression?
swingrays 12-22-2008, 12:06 AM Trying to do a Monty Python style lip sync animation using simple pictures of heads. I'm cutting out the mouths and want to use an audio "talking" file (converted to keyframes, of course) to move the mouth cutout via a linear expression on the Position transform property. BUT, that property is an X,Y value! I don't know how to write the java??!!
Any suggestions???
swing
|
|
Mylenium
12-22-2008, 06:13 AM
mAudioVal=thisComp.layer("Audio").effect("both Channels")("Slider");
mAudioAmp=1; //amplitude multiplier
X=transform.position[0];
Y=transform.position[1] + mAudioVal * mAudioAmp;
[X,Y]
Mylenium
swingrays
12-22-2008, 06:03 PM
Thanks Mylenium,
But what do I do now? Where do I enter the variables?
swing
Mylenium
12-23-2008, 06:46 PM
In the position property, naturally.
Mylenium
swingrays
01-10-2009, 08:47 PM
I'm not real slick with the expressions. I really don't know where to enter what I need to enter. Could u break it down a bit for me?? I'd really like to try this! Sorry for my ineptness. Thanks.
Swing
CGTalk Moderation
01-10-2009, 08:47 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.