Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression to pickwip values but only a certain number or higher

  • Expression to pickwip values but only a certain number or higher

    Posted by Dillon Pearce on November 29, 2009 at 11:54 pm

    Hey I have conerted audio to keyframes and using those values I want for example the camera to zoom in/out on the beat of the song. But not when theres small noises only on the major ‘thuds’ (the bass) of the song. I have divided the expression by different numbers to reduce the small ones but its not what I am looking for. How can I make it zoom if the value is more than 100 for example? Anything under 100 won’t be used. Thanks!

    Dan Ebberts replied 16 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    November 30, 2009 at 1:21 am

    Maybe something like this:

    audLev = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    threshold = 100;

    if (audLev < threshold) value else value + audLev Dan

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