Time based project

please format code with </> button * homework policy * asking questions

I am working on a music video project in processing in which I will have a song playing with animations that correspond to the lyrics. I’m wondering what the best way to do a time based sketch would be. For example, I’m looking to have something like at X time, display these lyrics and draw this animation. I was thinking something like an array of time in ms but not sure how best to execute that. Would appreciate any guidance

Take a look at this thread for some ideas: