Rotating Object to Music Expression?


hello all,

 

i've been deep project long time , it's coming end.  have sound keys set 1 output. 

 

i looking rotate circle sound keys output, although not want circle move right 10 degrees move (-10 degrees), rather i'd continuously move clockwise output value continuously adds previous value based off time.  

 

is there expression cover that?  here's example of thought 'close' circle keeps going , forth rather continously around in 360 degrees. 

 

time+comp("main comp").layer("sound keys").effect("sound keys")("output 1")

 

i've attached screen shot guidance. 

 

thank help!

ryanscreenshot_4.png

you have iterate on previous frames achieve makes expression pretty slow long comps.

 

var result = valueattime(0); for(var t=0; t<=time; t+=thiscomp.frameduration){     result += comp("main comp").layer("sound keys").effect("sound keys")("output 1”).valueattime(t) } result; 

alternatively, if want rotation happen in regular pattern @ each beat, can use tool beatassistant. generate keyframes , hence faster:

http://aescripts.com/beat-assistant/

 

 

cheers,

mathias



More discussions in After Effects Expressions


adobe

Comments

Popular posts from this blog

Reader DC

Adobe InDesign CC 2017 has stopped working

PDFMaker Office COM Addin will not stay enabled