Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions making different images appear using audio amplitude…

  • making different images appear using audio amplitude…

    Posted by Fernando Lopez on March 2, 2008 at 9:23 pm

    I saw a reply to a post that contained this expression:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    value + [0,15]*temp/5;

    You would add the expression to a layer, after doing the “convert audio to keyframes” under the keyframe assistant.

    Instead of making an image move 15 pixels down when the audio level is 5, I want a different image coming up when the audio levels are 15. Then a different one at 8, then a different one at 0.

    I need help on this, please. Thanks guys!

    Dan Ebberts replied 18 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Fernando Lopez

    March 2, 2008 at 9:42 pm

    whoops!! guys, nvm! I found a solution. =)
    Thanks anyway!

  • Dan Ebberts

    March 2, 2008 at 9:42 pm

    You could apply this opacity expression to the top layer:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    if (temp > 15) 100 else 0;

    Modify it like this for the next layer down:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    if (temp > 8) 100 else 0;

    The bottom layer wouldn’t need an expression.

    Dan

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