Looking to sync Javascript events with the BPM of music for a game similar to "Guitar Hero."
We start with:
In order to create a track file based on beat detection (with each BPM saved like sheet music), how can it be generated beforehand rather than in real-time?
And next:
What is the best way to synchronize it with a JavaScript sound library?
Any thoughts or ideas? Thank you in advance.