-
Smooth animation based on “convert audio to keyframes”??
Hello everyone, I’m new here and not really an AE profession, but I’m stucked with a task that I just can’t figure out (google research for hours didnt help).
I wanna create a ball that bounces to some music and changes the color based on the music, too.
So far I understand the “Convert Audio to keyframes” thing and my ball has the following expression codes for position:temp = thisComp.layer(“Audio Amplitude”).effect(“Left Channel”)(“Slider”);
[0+1500, -temp*10+800];and this one for the Hue of the Color effect
thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)
It both works, but my problem is that i need a much smoother animation. Unfortunatly i can not smooth out the keyframes of the Audio Amplitude Layer cause that one needs to remain easy replaceble.
So i was hoping that i could either somehow add a “smooth” into my expression code, or if there was a way to tell the expressions to only use every – lets say – 5th keyframe (or average of the next 5 keyframes).please help!