FORUMS: list search recent posts

Sound keys and Expressions

COW Forums : Trapcode

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
djelder
Sound keys and Expressions
on Jun 27, 2006 at 8:31:24 pm

I want to be able to have my logo stay in the same X-Axis Position, and move up the y-axis, like a ball bouncing. I have created soundkeys, and have attached my position to the sound keyframes. When I do that the image moves off the screen as expected, but when align the (temp, temp) back to it's original space it doesn't move. What expression should I use to have the position value change fromit's original position and up on the y-axis, not down on the y-axis? The idea is that each letter in my logo will be bouncing to the music. Thanks

Daniel Elder
Associate Producer
http://www.luminair.com


Return to posts index

Mylenium
Re: Sound keys and Expressions
on Jun 28, 2006 at 5:38:13 am

AE's coordinates start in the left top corner, thus the further down in the image you go, the larger your Y value becomes. You can invert the direction by multiplying with -1 (simply write -temp).

Mylenium

[Pour Myl


Return to posts index

djelder
Re: Sound keys and Expressions
on Jun 28, 2006 at 1:47:53 pm

Thanks Mylenium,

I also used this as my function:
multiplier = -3;
temp = thisComp.layer("Equalizer Bars 3").effect("Sound Keys")("Output 2");
value + [0,temp*multiplier];

but I was wondering, it seems very jumpy, is it possible to have it do easy ease on the keyframes to make the bounces more fluid??

Thanks

Daniel Elder
Associate Producer
http://www.luminair.com


Return to posts index


Mylenium
Re: Sound keys and Expressions
on Jun 28, 2006 at 5:31:53 pm

Yes and no. The problem is that you would need to find all bounce collision events, represented by the maximum of the audio and then based on this calculate the time when the ease shall begin. since it involves multiple looping expressions, it wouldn't be very efficient and you'd also need a lot of extra code to get smooth transitions. I really do not recommend even attempting this. Instead you should look into Soundkey's abilities to modulate the falloff for you. In combination with The Smoother palette, you should get some decent results that can pass as being natural, organic motion.

Mylenium

[Pour Myl


Return to posts index

djelder
Re: Sound keys and Expressions
on Jun 28, 2006 at 9:00:06 pm

I will give that a try, Mylenium.

One last question, is it possible to tell an expression to stop after a certain frame. Let's say I have an expression bouncing and I want it to go from 0 to 5 sec. then stop, how would I do that?

Thanks

Daniel Elder
Associate Producer
http://www.luminair.com


Return to posts index

Mylenium
Re: Sound keys and Expressions
on Jun 29, 2006 at 5:33:12 am

That would require a conditioanl statement like

if (time <= 5)
{pos_Y=thisComp.layer("Soundkeys").effect("Soundkeys")("Output 1")
else { pos_Y=200 };


An even simpler way would be to split the layer and remove the expression from the part where you don't need it.

Mylenium

[Pour Myl


Return to posts index


djelder
Re: Sound keys and Expressions
on Jun 29, 2006 at 2:59:15 pm

Yep, the second part is what I've done more or less. I actually converted the expression to keyframes and manipulated the points needed at the point and got rid of all the other keyframes, quite a sweet process. Man do I love learning all this new stuff.

Thanks again Mylenium, your help is appreciated.

Daniel

Daniel Elder
Associate Producer
http://www.luminair.com


Return to posts index

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