ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Audio Volume Down at the end

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Sergio Cabrera
Audio Volume Down at the end
on May 27, 2019 at 9:28:36 pm

Hello. I have a composition with an audio file inside, I need the audio to automatically volume down at the last 1 or 2 seconds at the end, even if I change the composition end time.

I'm guessing the expression would be at the waveform, related to the comp end time - 2 seconds, then begin a gradual volume down in the waveform, but I don't really know how to do this.

Any help?


Return to posts index

Dan Ebberts
Re: Audio Volume Down at the end
on May 27, 2019 at 10:58:53 pm

Something like this for Audio Levels:

fadeDur = 2;
fadeEnd = Math.min(outPoint,thisComp.duration);
easeOut(time,fadeEnd-fadeDur,fadeEnd,value,[-192,-192])


Dan



Return to posts index

Sergio Cabrera
Re: Audio Volume Down at the end
on May 28, 2019 at 2:43:49 am

Thank you Dan, you are amazing.

What "easeOut" alternatives are? It cuts the audio too abruptly even at 3 or 4 seconds, I need to make it smoother, like linear out?


Return to posts index


Sergio Cabrera
Re: Audio Volume Down at the end
on May 28, 2019 at 2:54:10 am

I mean, easeOut is suposed to smooth at the end but it's too abrupt anyway, any way to make the leveling smoother?


Return to posts index

Tomas Bumbulevičius
Re: Audio Volume Down at the end
on May 28, 2019 at 5:00:42 am

Instead of [-192,-192] try something upper value like [-48,-48]. It should be still enough to fade out the sounds, and it won't be that 'fast' drop.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer - Dynamic Text Boxes Template with a Live Preview


Return to posts index

Sergio Cabrera
Re: Audio Volume Down at the end
on May 28, 2019 at 5:23:48 am

Yes, -45,-45 works pretty nice. Thank you both!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]