Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Mute Audio at Markers Expression

  • Mute Audio at Markers Expression

    Posted by Dustin Mans on September 17, 2020 at 12:59 pm

    Hello, how to change the audio levels from (0 to -192) with markers?

    Audio level = -192 for 5 seconds at Marker

    m=thisComp.marker;
    n = 0;
    if (m.numKeys > 0){
    n = m.nearestKey(time).index;
    }
    if (n > 0){
    t = time - m.key(n).time;
    if (Math.abs(t) <= 5*thisComp.frameDuration) 100 else 0
    }else
    value

    Audio level = -192 at Marker

    if (marker.numKeys > 0){
    m = marker.nearestKey(time);
    t = m.time;
    if (m.index%2){
    ease(time,t,t+2*thisComp.frameDuration,100,0)
    }else{
    ease(time,t,t+3*thisComp.frameDuration,0,100)
    }
    }else{
    value
    }

    Dustin Mans replied 5 years, 8 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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