-
Audio Amplitude Expression to effect
Hi there,
I have put an adjustment layer on top of my composition and added the transform distort effect onto it. I am wanting to animate the scale to my audio amplitude layer so it essentially acts like a camera jumping to the beat. There are numerous of 2D and 3D layers so I can use a camera layer for this. My go to expression for scale to audio amplitude is…
minAudio =10;
maxAudio = 1;
minStretch = 100;
maxStretch = 110;audioLev = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
s = linear(audioLev, minAudio, maxAudio, minStretch, maxStretch);
[s,s]
This does not work for the effect however. Any help would be great!
Thank you!