Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Ref Audio Amplitude from parent comp from inside nested comps

  • Ref Audio Amplitude from parent comp from inside nested comps

    Posted by Brian Mills on January 26, 2012 at 7:24 pm

    Hello all
    I have a project where i have an expression that uses audio amplitude to turn on lips during whistling. I have many different scenes I am setting up that are going to be there own comps.

    I want to use these comps on a main comp with the music reference. So that way if I move these nested comps around and the timing with the music will still trigger the lips to turn on to make it look like h=they are whistling with the song.

    Can i reference an audio amplitude layer on the main comp from inside the nested comps?
    Thanks
    Brian

    a = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
    if (a >.3) 100 else 0

    Brian Mills replied 14 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    January 26, 2012 at 7:34 pm

    Sure:

    a = comp(“Main Comp”).layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);

    Dan

  • Brian Mills

    January 26, 2012 at 9:05 pm

    Thanks again Dan!

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