Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Audio Amplitude and Motion, Position

  • 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?

  • Chewbacca

    April 4, 2007 at 1:55 pm

    Lol i can

  • 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 pm

    Hey 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 pm

    Tks for the help i improved a function that i was working on and it works, until now hehe

    Ciao

Page 2 of 2

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