Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Two Questions – one easy, one perhaps impossible! A challenge!

  • Two Questions – one easy, one perhaps impossible! A challenge!

    Posted by Fran Hartnett on March 6, 2007 at 8:43 pm

    Hi all,

    Ok, first question – I’ve looked everywhere but the simple question is – how do I invert the value read by an expression e.g. – I want the audio keyframes I have generated to cause the opacity of a layer to be 0 when the keyframes are at max, and 100 when the keyframes are at 0 ?

    Next question. is it possible to imitate the effect of scubbing backwards and forwards through a comp?

    Thanks in advance

    =)

    Fran Hartnett replied 19 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 6, 2007 at 11:25 pm

    Fist question:

    minAudio = 0;
    maxAudio = 20;
    minOpacity = 0;
    maxOpacity = 100;
    audioLevel = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);

    linear(audioLevel,minAudio,maxAudio,maxOpacity,minOpacity)

    Second question:

    Sure. Use time remapping (either keyframed or expression-driven).

    Dan

  • Fran Hartnett

    March 7, 2007 at 7:36 pm

    Thanks Dan – you the man!

    =)

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