FORUMS: list search recent posts

Increasing the value every frame by a specific ammount

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Marko Suto
Increasing the value every frame by a specific ammount
on Dec 13, 2018 at 9:11:40 am

Hello!

I'm using Soundkeys output to rotate another object . Idea is that object rotates for +soundkeys output. So I need to add the value to the next frame.
Not exactly sure how to write the expression for object rotation...

For example: soundkeys output = 1,2,3,4... - my rotation = 1,3,6,10...


Return to posts index

Dave LaRonde
Re: Increasing the value every frame by a specific ammount
on Dec 13, 2018 at 4:56:02 pm

Is the rotation intended to all be in the same direction or do you want it to rotate back and forth?

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Marko Suto
Re: Increasing the value every frame by a specific ammount
on Dec 13, 2018 at 5:14:42 pm

Idea is to have it rotating in the same direction.
Soundkeys give me a positive or 0 output for each frame, so I wanted to add the value of each frame to the sum of previous rotations.

Example:
1. frame soundkeys output = 10
1. frame rotation = 10

2. frame soundkeys output = 30
2. frame rotation = (10+30) = 40

3. frame soundkeys output = 0
3. frame rotation = (40+0) = 40


Return to posts index


Kalleheikki Kannisto
Re: Increasing the value every frame by a specific ammount
on Dec 15, 2018 at 5:07:33 pm

SoundKeys has a "cumulative" option which should do this automatically.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]