-
Creating a Conditional Loop
I’m hoping someone can help me do the following:
I’m using Dan Ebberts’ Beat Counter ( https://www.motionscript.com/design-guide/audio-count.html ) in order to display various stills using his random stills expression ( slider = thisComp.layer(“Null 1”).effect(“Slider Control”).param(“Slider”)
if(index == slider)100 else 0 ) applied to the layers’ opacity property.The thing is, I have fewer stills than there are beats in the audio, and what I would like to do is tell the beat counter to start counting again from “0” once “n = number of layers”
I’m assuming that this will need to be done using a conditional loop, but I don’t know how to do it.
Any help will be greatly appreciated.
Thanks,
Randy