-
How to get a Blinking Effect using expressions?
Hello everyone, Random person here.
Question:
I have a image of a light, sorta like a LED. I want it to blink to a song’s BPM, my plan to do this was to use audacity to generate the bpm, figure out the time between each beat and set opacity keyframes and then make it loop.
I managed to get all that done except for the loop part…
i tried searching online for ‘blinking in after effects’ and i found some stuff that i couldn’t understand except something about expressions?
I managed to find one expression however I have no idea how to determine the timer for it…
the expression is
blinkSpeed = 1;and found it here
lowOpacity = 10.0;
highOpacity = 90.0;
opNormal = (Math.cos(blinkSpeed*time*Math.PI*2)+1)/2;
linear(opNormal,0,1,lowOpacity,highOpacity);
https://video.ucf.edu/knowledge/reference/pdf/adobe/aft6blink.pdf
Can I get some help please?