Downbeat: Rhythm Game Kit with Beat Clock, Note Highways and Timing Judgement
README.md
calibration
The player's delays: audioMs (from the listen tap-along), visualMs (from the watch tap-along) and manualMs, saved in the player's own store per kind of device. inputLagMs() = audio + manual is what judgement subtracts from every press (+30 ms moves judgement exactly 30 ms); drawLagMs() = inputLag - visual shifts where notes are drawn. estimate(beats, taps) turns a tap-along into a delay with outliers dropped. get, set, reset, onChange.