-
Random color on audio beat, then hold color til next beat
Hello everyone,
I hope the title is self explanatory.
What I aimed to do is very simple but I’m having a really hard time to do it.
I have an audio file. I converted it to keyframe. I want to use each beat on the sound to trigger a color change on a layer. This random color stays put until the next beat happens, then it changes and holds this color til the next beat, and so on…I know this has to do with the seedRandom as :
seedRandom(seed, true)
where seed changes every time x (for example) reaches let’s say 20I’m stuck there. I guess it has also to do with if/else statement or a while/do.
I know this must be extremely simple, but I just don’t get it.Thanks for any hint !