Yesterday I tried to spend all day trying to make a Conductor (a thing that can sync stuff to music) on my own but man that was hard. I had two previous tutorials I referenced that helped for the basis, and then I looked at some other conductors for other music games (albeit in the same programming language that I was using, Haxe) and found some complex and simple ones. Most were complex admittedly. Though I found the first version of FNF's conductor (which somehow remained unchanged for a very long time.) And that was very simple. Though I went to see the usage there was for it and there were so many references to it...
All in all it's an experience. I did copy and paste less than a line of code from it to see what would happen and I think it made the Conductor a tiny bit accurate, but I haven't gotten anything to sync to the music I have or a metronome yet.