-
Lip Sync Expression
I trying to automate a Lip Sync in AE7 Pro. I am in need of some help with expression language. Here is what I have done so far.
Attempt 1:
Created PSD with 2 layers (Upper Lip, and Lower Lip) Design is such that only lower lip needs to be masked away.
Animated a mask to subtract Lower Lip over the course of a second
PreComped
Applied Time Remapping to precomp
Converted wave file into Audio Amplitude keyframes
added expression to Time Remapping
pic-whipped the expression to the “Both Channels” slider of the Audio Amplitue layer
Result: Lip flap works, but to fast and not frequent. Need to be able to control rate.
Resulting expression of Attempt 1:
thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)Attempt 2:
Created PSD with 2 layers (Upper Lip, and Lower Lip) Design is such that only lower lip needs to be masked away.
Created mask on Upper Lip layer to subtract Lower Lip layer when it passes under
Converted wave file into Audio Amplitude keyframes
Added expression to position transformation on Lower Lip layer
pic-whipped the expression to the “Both Channels” slider of the Audio Amplitue Layer
Result: Need to be able to restrain animation to Y Axis only and control range of movement
Resulting Expression of Attempt 2:
temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
[temp, temp*5+2040]
I can’t believe I actually miss motion math.
Thank you