Activity › Forums › Adobe After Effects Expressions › Audio Amplitude and Motion, Position
-
Audio Amplitude and Motion, Position
Chewbacca replied 19 years, 4 months ago 5 Members · 15 Replies
-
Chewbacca
April 4, 2007 at 1:46 pm– “Does it stay there?” no i wanted that the object come to original position.
– “What happens when the next sound comes?” repeat the same stuff“It looks to me like you’re assuming in your code that you can set a varaible (B) and it’s value will persist to subsequenct frames. It won’t. That’s not to say that what you’re trying to do can’t be done, it’s just a little tricky.”
– so i have to this by hand? theres no global variables?
-
Darby Edelen
April 4, 2007 at 4:52 pm[chewbacca] “- I know that = is an assignment operator, but tks for the warning i just missed that, common typo =P
– I will start putting semi-colon”I was just concerned that this was copied from your expression in AE, it’s much less forgiving than the Cow =)
-
Chewbacca
April 9, 2007 at 9:26 pmHey dudes,
I’m now trying with layer markers, and i have a problem.
n=0;
if(marker.numKeys > 0){
n=marker.nearestKey(time).index;
if(marker.key(n).time > time){
n–;
}
}
start = value_at_time(time);
end = add(start,[260,0]);
linear(time,1,1.3,start,end);The object moves once and stays put because i can
-
Chewbacca
April 10, 2007 at 1:17 pmTks for the help i improved a function that i was working on and it works, until now hehe
Ciao
Reply to this Discussion! Login or Sign Up