ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Setting Min and max values to Sound reactive effect

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mateja Puhalo
Setting Min and max values to Sound reactive effect
on Nov 25, 2018 at 8:43:59 pm

Hello everyone!
I'm trying to make scale effect reactive to sound channel. I did that, but it looks pretty rough, since scale is happening in range from cca 10% to 100%, while I would like it to be more subtle - so that it is reactive to sound, but it scales down to not more than 90%. Is something like that possible?

temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
[temp, temp]


Return to posts index

Dan Ebberts
Re: Setting Min and max values to Sound reactive effect
on Nov 25, 2018 at 9:27:53 pm

Something like this probably:

temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
newTemp = linear(temp,10,100,90,100);
[newTemp, newTemp]


Dan



Return to posts index

Mateja Puhalo
Re: Setting Min and max values to Sound reactive effect
on Nov 26, 2018 at 7:47:07 pm

It works perfectly. ☺
Thank you a lot!


Return to posts index

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