Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Scale expression

  • Posted by Jonny01782 on March 15, 2007 at 12:48 pm

    Hi, sorry if this is on the forum somewhere already but i couldnt find it, Im new to expressions and im a bit stuck! i have converted some audio to key frames and used the pickwhip to link it to the scale. My problem is that i want the width of the object to stay the same but the hight to vary with the music. does anyone know an expression that will do this?

    Dan Ebberts replied 19 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    March 15, 2007 at 1:17 pm

    It should look something like this:

    minScale = 30;
    mult = 3;
    s = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    [value[0],s*mult + minScale]

    Dan

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