How Rhythm Online Games Judge Your Timing to the Millisecond
Twenty-one and a half milliseconds. That is the width, on either side of the note, of the top judgement in In The Groove, the arcade dance game that grew out of the open-source StepMania engine.

Twenty-one and a half milliseconds. That is the width, on either side of the note, of the top judgement in In The Groove, the arcade dance game that grew out of the open-source StepMania engine. Hit an arrow within 0.0215 seconds of where the chart says it belongs and you get a Fantastic. Miss by 0.03 seconds and you drop to Excellent. I have spent a long time, starting with the Dance Dance Revolution cabinets that filled mall arcades, learning to care about numbers that small, and this article explains where they come from and what you can do about them at home.
The timing window, explained plainly
Every rhythm game stores its chart as a list of notes with exact timestamps. When you press a panel, the game compares the moment of your input with the nearest note's timestamp and measures the gap. That gap, early or late, falls into a band called a timing window. The narrowest band earns the top grade; each wider band earns a lower one, until you are far enough off that it counts as a miss.
Here are two well-documented sets of windows. Both measure the distance from the note in either direction, so a 22.5 ms window really spans 45 ms in total.
| Grade tier | StepMania default (Judge 4) | In The Groove |
|---|---|---|
| Top | Marvelous, 22.5 ms | Fantastic, 21.5 ms |
| Second | Perfect, 45 ms | Excellent, 43 ms |
| Third | Great, 90 ms | Great, 102 ms |
| Fourth | Good, 135 ms | Decent, 135 ms |
| Fifth | Boo, 180 ms | Way Off, 180 ms |
The grade names in StepMania mirror DDR, where Konami's judgements run Marvelous, Perfect, Great and downward. StepMania lets players change the judge difficulty, which scales the windows tighter or looser, and many community setups use different values again. The point is not to memorise the numbers but to understand the scale. A human eye blink takes around 100 ms or more. The top grade in these games asks you to land inside a window much shorter than that.
Why your setup moves the target
The game judges input against when it thinks the music is playing. Your living room adds delays the game cannot see. There are three main sources:
- Display lag. A TV's picture processing can delay the image by tens of milliseconds. Game mode usually cuts this a lot.
- Audio lag. Soundbars, AV receivers and especially Bluetooth headphones can push sound well over 100 ms behind the true timestamp.
- Input lag. Cheap USB pads, adapters and wireless controllers add their own few milliseconds before the press even reaches the game.
If audio arrives 80 ms late and you step in time with what you hear, every single step registers 80 ms late. On StepMania defaults that turns would-be Marvelous steps into Greats across a whole song. Players then blame their feet when the real fault is a cable.
Calibration: audio offset and visual offset
Most serious rhythm games split calibration into two settings, and mixing them up is the most common mistake I see.
The audio offset (sometimes called global offset) shifts where the game believes the music is relative to the chart. It changes how your inputs are judged. If you are consistently late because your sound system is slow, adjusting the audio offset moves the judging target to match what you hear.
The visual offset shifts only where arrows are drawn on screen. It changes nothing about judging; it just lines up the moment an arrow crosses the target with the moment it should be hit, compensating for display lag.
A sensible calibration routine:
- Switch the TV to game mode and use wired audio if you can.
- Run the game's audio calibration with your eyes closed, tapping along to the beat only. This isolates sound from picture.
- Set the audio offset to the value it suggests, then play an easy, steady chart and check whether early and late hits are roughly balanced. Many themes show an average error after each song.
- Now run visual calibration, or adjust the visual offset until arrows look on time while you hit them on the sound.
- Repeat after changing any hardware, including swapping headphones.
I disagree with "trust your eyes"
A lot of beginner advice says to watch the arrows and hit them as they touch the target. In my experience that is the slower path. Visual reaction is less precise than rhythmic prediction. When you follow the beat with your ears, your brain anticipates the next step and fires on time. When you chase arrows with your eyes, you react, and reactions are late and inconsistent.
Use the screen to read what is coming, which panel and which rhythm, but let the music decide when. That is also why audio calibration matters more than visual. If the sound is off, you are building muscle memory around a lie.
How motion-tracked dance games judge timing
Just Dance does not use timing windows in the same way. When you play with a phone through Just Dance Now or the console app, the phone's accelerometer and gyroscope report your arm's motion, and the game compares that motion against a recorded reference for each move. Your grade (OK, Good, Super, Perfect, or X for a miss, with "Yeah" for successful Gold Moves) reflects both shape and timing. The window feels wider because the game judges a gesture spread over a beat, not a single instant.
Network delay also enters here, since the phone sends data over Wi-Fi. A crowded home network can add jitter, which shows up as random grades on moves you know you nailed. Putting the console and phone on the same uncongested 5 GHz band often helps.
What online scoring does with all this
A common worry is that online play adds lag to judging. For most rhythm games it does not, because judging happens locally on your own machine. Online leaderboards receive the final score after the song. Communities like the one around ITG's Simply Love theme and the GrooveStats leaderboards depend on this: your score is decided by your setup, then uploaded. That is exactly why calibration matters so much for anyone comparing scores online. Two players with identical skill but different offsets can post very different numbers.
If you are just starting out, my notes on online game basics for new dance game players cover accounts, difficulty and settings in a friendlier order. And if you want the arm-and-foot side of hitting a beat, Tamsin's piece on setting up your room talks about weight transfer in a way that has helped my own timing on pad charts.
Reading your own error
The single most useful habit is checking your early/late spread after each song. If most misses land on the same side, the problem is offset. If they scatter evenly on both sides, the problem is consistency, and only practice fixes that. On Pump It Up, with its five panels of four diagonals and a centre, a lean that appears only on certain panels points to body position, not calibration. Learn to tell those two problems apart and you will stop changing settings that were never broken.
More in Games
Games
How Online Dance Games Sharpen Hand and Foot Coordination
Watch a skilled dancer and you notice their arms and legs seem to belong to different people, each moving on its own yet...
Games
How Online Rhythm Games Train Your Ear for the Beat
Most people think rhythm games test your fingers, but the deeper skill they build sits in your ears.
Games
What Just Dance Really Tracks When It Scores You
In my beginner dance fitness classes I sometimes use Just Dance as a warm-up, and every few weeks somebody discovers the same...