ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

reduce audio to keyframes amount

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Matteo Masin
reduce audio to keyframes amount
on Mar 10, 2011 at 3:06:17 pm

Hi to everybody!
I have this problem: I'm trying to link the audio of a footage to the scale of another layer. The "convert audio to keyframes" function just works great but I noticed that the difference between the resulting scale values is too much for the desired effect. We just want to reduce the difference between values...we tried to write something like "*0,10" in the slider expression but this just reduce all the scale values by one 10th preserving the relative difference and not reducing the "huge pulsing" effect.

Can you help us?

Thank you!!!

M.


Return to posts index

Tudor "Ted" Jelescu
Re: reduce audio to keyframes amount
on Mar 10, 2011 at 4:32:52 pm

If you do not want to mess with expressions I would recommend using Soundkeys.

Tudor "Ted" Jelescu
Senior VFX Artist


Return to posts index

Roland R. Kahlenberg
Re: reduce audio to keyframes amount
on Mar 10, 2011 at 7:00:13 pm

You can set a value to be the maximum where any values higher will be brought down to this maximum value.

The following script should work.

//
temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
maxValue = 15;
if (temp >maxValue) {
temp=maxValue;
[temp,temp]
} else {
[temp,temp]
}
//

HTH
RoRK

AE Training in South East Asia. AE templates for sale and rental. Click here for more


Return to posts index


Matteo Masin
Re: reduce audio to keyframes amount
on Mar 11, 2011 at 9:18:48 am

Thanks Roland!
we tried your script and it works! It seems to be very useful also for a lot of other issues like reducing the amount of parented effects! Really thanks!


Return to posts index

Roland R. Kahlenberg
Re: reduce audio to keyframes amount
on Mar 12, 2011 at 10:00:40 am

Thanks for reporting back Matteo. I'm glad the script has worked well for you.

Cheers!
RoRK

AE Training in South East Asia. AE templates for sale and rental. Click here for more


Return to posts index

Roland R. Kahlenberg
Re: reduce audio to keyframes amount
on Mar 12, 2011 at 10:03:25 am

I would also like to add that you can reduce the number of keyframes by using the Smoother Keyframe Assistant.

HTH
RoRK

AE Training in South East Asia. AE templates for sale and rental. Click here for more


Return to posts index

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