FORUMS: list search recent posts

controlling audio keyframes to only one dimension

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Bert Beltran
controlling audio keyframes to only one dimension
on Dec 1, 2011 at 4:43:25 pm

hey everyone
I have an object that sits on top of a table and i need it to bounce to the beat of a song. the object sits at the position of 946,626. All i want it to do is bounce in the Y-axis to the beat of the song. What would be the best way to achieve this effect but still having a good amount of control if i need to change its position.

Muchos Thank You's


Return to posts index

Bert Beltran
Re: controlling audio keyframes to only one dimension
on Dec 1, 2011 at 4:55:27 pm

so i figure out how to control the y dimension using this expression

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

and i added that expresion to a null object and parent the object that i want to bounce. but my new problem is that the object jumps down to far passing it orginal starting point. how do i make it so that it never passes that point. i moved the anchor point to the bottom of the null and the object but im still getting that issue

Muchos Thank You's


Return to posts index

Dan Ebberts
Re: controlling audio keyframes to only one dimension
on Dec 1, 2011 at 4:57:48 pm

After you convert your audio to keyframes, you should be able to use something like this:

aud = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
amp = 1.0;
value - [0,amp*aud]


Adjust amp to control the amount of bounce.


Dan



Return to posts index


Bert Beltran
Re: controlling audio keyframes to only one dimension
on Dec 1, 2011 at 6:55:45 pm

thanks dan that really help me out. you been a real life saver. i might be back to ask some more question.

Muchos Thank You's


Return to posts index

Bert Beltran
Re: controlling audio keyframes to only one dimension
on Dec 1, 2011 at 7:37:33 pm

i want to add a shadow under the object and have it scale so as the object goes up in the air the shadow gets small and when it comes back down the shadow gets large. what would be the best way to do that?

Muchos Thank You's


Return to posts index

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