Some code for syncing GameObject behaviors to real-time audio events