Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Audio Amplitude Expression to effect

  • Audio Amplitude Expression to effect

    Posted by Oliver Livsey on March 9, 2018 at 11:09 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);

    [s,s]

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

    Thank you!

    Jamie Bradshaw replied 8 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Jamie Bradshaw

    March 9, 2018 at 2:27 pm

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

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

    JimJam•Graphics
    https://www.jimjamgraphics.com/

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