Rhythm Game Logic

I’m awfully bad at playing rhythm games and partially it’s because I’m very bad at spotting visuals. I haven't played Hi-Fi Rush yet. It may be different, but most rhythm games use graphic tick to register mouse clicks and other input which adds to normal latency one more unknown variable. So you need to spot some visual context instead of music to get “rhythm” right.

I want to make a music centered game so even visuals will be late a registering click or other input should be based on music timing. And I found out that it’s good to use the “snap” algorithm for this. So anytime a player uses input device signal register and checks if it is within proximity to snap point weather it before or later.  And we can pass input if it within a gap between target note and previous 32th note or post 32th note, as an example.

I may reinvent a bycicle, if you have some thoughts about it, please, let me know.