Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Animating a mouth using audio waveforms

  • Animating a mouth using audio waveforms

    Posted by Moira Elefson on July 16, 2012 at 5:39 pm

    I’d like to use the waveform of an audio file (the loudness/db of the file specifically) to animate a mouth on a person’s face that i’ve rotoscoped out.

    The animation wouldn’t be something like actually moving the lips to pronounce each word, rather just an entire jaw moving up and down vertically or rotating on the X axis.

    Is there a way to do this?

    Dan Ebberts replied 13 years, 10 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    July 16, 2012 at 9:01 pm

    Sure. Convert your audio to keyframes (Animation > Keyframe Assistant > Convert Audio to Keyframes) then add an expression like this to the layer you want to move up and down:

    amp = .5;
    y = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)*amp;
    value + [0,y]

    Adjust amp to increase or decrease the movement; make it a negative number to move up instead of down.

    Dan

  • Moira Elefson

    July 17, 2012 at 5:45 pm

    That worked great 🙂 Is there a similar expression though that would chain to the rotation of an object (like a jaw) instead of the Y movement?

  • Dan Ebberts

    July 17, 2012 at 6:33 pm

    It would be very similar:

    amp = 1;
    r = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)*amp;
    value + r

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy