Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Thanks for the comment! Since we were only using music which I made myself, we knew the BPM of each track ahead of time and the devs didn’t have to worry about scanning waveforms for beat detection. Instead we just do a little bit of math to fire signals on each beat, and maintain a “BeatOffset” value each frame.

You can check out the code here if you’re interested in the specifics: https://github.com/abdulhakeemidr/Pegjam-Waves/blob/main/Assets/Scripts/Conductor.cs