ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

make a mesh warp effect react to sound keyframes

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Carmen Ohneweil
make a mesh warp effect react to sound keyframes
on May 6, 2020 at 7:28:32 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")


Return to posts index

Dan Ebberts
Re: make a mesh warp effect react to sound keyframes
on May 6, 2020 at 7:46:08 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



Return to posts index

Carmen Ohneweil
Re: make a mesh warp effect react to sound keyframes
on May 6, 2020 at 7:53:47 pm

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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]