I need to produce js events synced with music bpm for a "guitar hero" like game.
First Question :
How to generate a track file from beat detection (each bpm stored like a music sheet)? This file will be generated previously not necessary on the fly.
Second Question :
How to sync it with a js sound library ?
Any idea ? Thanks in advance