Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › Acceleration expression

  • Acceleration expression

    Posted by Edson Junior on August 28, 2014 at 8:13 pm

    Hello everyone!
    I’m working at a audio react template and i’m stuck in something.
    in my audio react there is something flowing using a offset function and i want to make it as every time a sound comes the offset goes faster, i tried to make it time+”convertaudiotokeyframes” but what happens is every time a beat comes the flow goes foward and backwards again, due to the value increasce and decreasce.

    Does anyone have a solution to this? i was thinking in a expression that uses a var as acelaration and everytime a beat hits the acceleration value goes up and down, then the flow will always go foward but faster when the beat hits.

    Dan Ebberts replied 12 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 28, 2014 at 9:24 pm

    This is one of those situations that is tricky because expressions can’t pass any information from one frame to the next. So, at each frame the expression needs to start at frame zero and count how many beats have occurred in the past, and calculate the cumulative motion due to those beats, as well as calculate any motion due to the current beat. Pieces of the logic are probably here:

    https://www.motionscript.com/design-guide/audio-count.html
    https://www.motionscript.com/design-guide/audio-trigger.html

    but the details depend on how you have things set up and exactly what type of motion you’re looking for.

    Do-able, but tricky.

    Dan

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