ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Audio Amplitude Expression to effect

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Oliver Livsey
Audio Amplitude Expression to effect
on Mar 9, 2018 at 11:09:10 am

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);


This does not work for the effect however. Any help would be great!

Thank you!

Return to posts index

Jamie Bradshaw
Re: Audio Amplitude Expression to effect
on Mar 9, 2018 at 2:27:31 pm

Does it work if you use the .value when you declare your variable?

audioLev = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider").value;


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved