Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Thank you, and 1 last expression question…

  • Thank you, and 1 last expression question…

    Posted by George Smith on December 18, 2008 at 2:00 am

    Thank you to those who helped with my previous post, I’m almost done.

    I’m just in the need for expression help.

    I have Trapcode starglow, beating to the music via an expression with audio keys (not trapcode).

    What do I need to add to the expression so it’s not such a crazy range from -29 to +60. I’d just like it to be a bit more subtle.

    Thank you!!

    Dan Ebberts replied 17 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    December 18, 2008 at 3:37 pm

    Just use linear() to translate the range. It should look like this (you need to fill in the first three variables:

    audioLevel =
    newMinVal =
    newMaxVal =
    linear(audioLevel,-29,60,newMinVal,newMaxVal)

    Dan

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