Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions audio amplitude and expressions, keeping a controlling scale

  • audio amplitude and expressions, keeping a controlling scale

    Posted by Heather Crank on August 26, 2007 at 2:38 am

    Hi,

    I’m using the audio amplitude/audio expressions for the first time. It’s working great so far. My expression looks like this:

    temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)*13;
    [temp, temp, temp]

    I’d like to keep the object that is scaling from disappearing when the sound get quiet. Is there a to adjust this?

    Thank you,

    Heather

    Heather Crank replied 18 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 26, 2007 at 2:56 am

    You can use something like this (you’ll have to adjust the first four parameters to fit your project):

    minAudio = 0;
    maxAudio = 15;
    minScale = 10;
    maxScale = 100;

    myAudio = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    temp = linear(myAudio, minAudio, maxAudio, minScale, maxScale);
    [temp, temp, temp]

    Dan

  • Heather Crank

    August 26, 2007 at 2:58 am

    Thanks Dan!

    I’ll give it a shot. I really appreciate your help!

    Heather

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