Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › sending submovies to frame (x) with expressions

  • sending submovies to frame (x) with expressions

    Posted by Mackill on November 11, 2006 at 2:05 pm

    Hi all,

    I have been having a lot of fun synching stuff to music, making them shrink, grow, exploder etc 😀

    now i have a question..

    if I want to make a sub-movie (am a flash-er, I guess that would be a composite in AE)jump to a certain frame based on an expression.. how would I do that?

    lets say the submovie has 60 frames.. and I want it to show frame 60 every time the music hits the highest point. (or 0 for the lowest.. and on and on).

    thanks for your time
    mac

    http://www.runboyrun.de
    http://www.new.soulonfire.de

    Dan Ebberts
    replied 19 years, 10 months ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    November 11, 2006 at 7:01 pm

    Assuming that you have already converted your audio to keyframes, you would enable Time Remapping for your movie and apply an expression like this to the Time Remap property:

    a = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    minAudio = 0;
    maxAudio = 20;
    minFrame = 0;
    maxFrame = 60;
    f = linear(a,minAudio,maxAudio,minFrame,maxFrame);
    f*thisComp.frameDuration;

    Adjust minAudio and maxAudio to match your audio levels.

    Dan

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