Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects › reduce audio to keyframes amount

  • reduce audio to keyframes amount

    Posted by Matteo Masin on March 10, 2011 at 3:06 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.

    Roland R. kahlenberg replied 15 years, 6 months ago 3 Members · 5 Replies
  • 5 Replies
  • Tudor “ted” jelescu

    March 10, 2011 at 4:32 pm

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

    Tudor “Ted” Jelescu
    Senior VFX Artist

  • Roland R. kahlenberg

    March 10, 2011 at 7:00 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

  • Matteo Masin

    March 11, 2011 at 9:18 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!

  • Roland R. kahlenberg

    March 12, 2011 at 10:00 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

  • Roland R. kahlenberg

    March 12, 2011 at 10:03 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

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