Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Is it possible to animate this by linking rotation to audio with an expression?

  • Is it possible to animate this by linking rotation to audio with an expression?

    Posted by Daniel Haskett on November 13, 2007 at 4:45 pm

    hi there,

    Basically, if you have a look at this clip https://www.danhaskett.co.uk/ani%20clips/bottles.mov

    Its a quick test I’ve done trying to animate the bottles singing, im rotating the two halfs from the same anchor point, fairly obvious. but i was wondering, is there a way, maybe expression to link the rotation to the audio? i want to try and get the singing by itself, so theres no interference from the bg music.

    then i could convert the audio to keyframes…but are there any tips on how to make it work with the rotation? ive got it so that the bottom half rotation is linked to the top half, but the opposite. so i think id only have to link one half to the audio.

    the reason i want to try this is incase the actual song gets changed, itd be much easier to change it, instead of having to re keyframe.

    oh and one other thing, the bottles are all the same comp duplicated, so they all blink at the same time, i want the blinking a bit more random…is this possible, will i have to make 5 different comps?

    any thoughts would be greatly appreciated,

    cheers

    da

    Daniel Haskett replied 18 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 13, 2007 at 6:59 pm

    Sure, an expression like this maybe:

    mult = -0.5;
    offset = 0;
    aud = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);

    aud*mult + offset

    Adjust “mult” to get the amplitude you want and “offset” for the initial angle.

    Dan

  • Daniel Haskett

    November 14, 2007 at 1:23 am

    Thanks alot Dan, much appreciated!

    I’ll give it a go,

    cheers

    dan

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