So im making a game that incoporates sound, the player places each beat so they can progress. however im stuck on the fact that i want the players block placement to be placed at the beggning of the main beat. im sorry if this is not very specific. i can post a vid if needed.
This is not very specific. Pls post vid.
I’m guessing you want to sync placement with the song’s tempo. If that’s the case, you probably want to use music with a known/consistent BPM and keep track of the time since the song started.
For example a 120 BPM song will have 0.5 seconds between beats. If you have a typical 4/4 time signature, you’ll have 2 seconds between the first beat in every measure.