Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions make a mesh warp effect react to sound keyframes

  • make a mesh warp effect react to sound keyframes

  • Carmen Ohneweil

    May 6, 2020 at 7:28 pm

    hello ☺

    I would like the layer to mesh warp between two values according to the soundkeys…
    But well they`re not really values as it`s the mesh warp effect…the keyframes are just two different meshes..

    Is there any way to get values from there or any other way to do it with this effect? or do I need another ?

    (The Expression below results when i pick whip the effect to the slider of the sound keys)

    Thank you very much for your help 🙂

    thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider")

  • Dan Ebberts

    May 6, 2020 at 7:46 pm

    This should morph between the two keyframe values, based on the audio amplitude:

    amp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    maxAmp = 20; // get this value by looking at the audio keyframes in graph editor
    t = linear(amp,0,maxAmp,key(1).time,key(numKeys).time);
    valueAtTime(t)

    Dan

  • Carmen Ohneweil

    May 6, 2020 at 7:53 pm

    OH thanks for the fast reply and it worked!
    Thank you <3

Viewing 1 - 3 of 3 posts

Log in to reply.

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