Best way to track music for game

Hopefully someone can set me straight here.

I’ve been trying to build a simple music game where game objects will change depending on specific beats of the music. I was first planning on doing this by setting timers that would line up with specific beats and having the game-objects do things when that timer is hit (IE. every 2 seconds a drum beat so a 2 second timer for the game-object).

I’ve yet to test this but I’m starting to get worried that the music will hitch and get out of sync with the game-object’s timers. Is there a better way to do this? Something that could look at the music and see the beats and trigger those actions that the timer would have?

Thanks!

http://www.alteredr.com/visualizer-studio/