Audio · timing diagnostics
Audio latency test
Read your browser’s latency estimates, then compare a beep with a visual cue. Save the offset that feels aligned for each audio setup.
Before you start: Web Audio will play short tones through your current system output and read its reported timing and sample rate. Start with low system volume. The default is 5% signal amplitude; this is not a loudness measurement.
No microphone, camera, Bluetooth access or device chooser is requested. Nothing is recorded. This tool makes no external requests; readings and observations stay in page memory unless you download them. Stop, Reset, leaving the page or switching tabs releases audio. No device permission needs revoking.
1. Compare sound and picture
Choose your output in system settings. Start the cues, then adjust the visual timing. Positive offsets move the visual cue later when sound seems late.
Ready. Audio starts only when you press Start.
No cues yet
Watch this small marker and listen.
The marker changes briefly once every two seconds; no full-screen flashing or moving animation. Visual comparison requires sight; browser estimates and reports are available as text.
Changes apply to the next pair that has not been scheduled. A queued pair keeps its original setting. Arrow keys adjust the slider by 1 ms.
0.00 frames at 60 fps
Frames = offset in ms × selected fps ÷ 1,000. This does not detect your screen’s refresh rate.
2. Browser estimates
Start a test to read these values. They are not measured speaker-to-ear or Bluetooth delay.
- Base latency
- Not read
- Output latency
- Not read
- Sample rate
- Not read
- Audio context
- Not started
What these numbers mean
Base latency: the browser-reported processing delay between the audio destination and the system audio subsystem.
Output latency: the browser’s estimate of the interval between handing a buffer to the system and the output device processing its first sample. Accuracy and coverage vary by browser, operating system and route.
Both APIs return seconds; the displayed value is seconds × 1,000. They are shown separately, not added into a claimed physical measurement. A reported zero is preserved and does not prove zero physical delay. Unsupported and unusable values are identified separately.
The latency hint is a browser request, not a guarantee. Values refresh during playback. Restart after changing your system output. This tool cannot identify your device or confirm whether it is connected, muted or audible.
Timing quality of this page
- Completed cue pairs
- 0
- Visual callback lateness · median
- No samples
- Visual callback lateness · maximum
- No samples
- Missed visual cues / scheduler stalls
- 0 / 0
No page-timing samples yet.
How the comparison is scheduled
A 50 ms tone is scheduled ahead on the audio rendering clock. At scheduling time, its reference time is mapped to the page’s performance clock. The visual target is that reference plus your offset; browser latency estimates are not applied as compensation.
The marker changes on the first animation callback at or after its target. Lateness = callback time − visual target. This reports page scheduling, not audio latency or the instant pixels appear on your display. A cue more than 100 ms late is skipped and marked missed. A scheduler stall defers the next pair.
Display refresh, main-thread load, reduced timer precision, audio buffering and perception limit alignment. The offset control has 1 ms steps; that does not imply 1 ms accuracy. Keep the tab visible and close busy applications before comparing setups.
3. Save what you observed
Complete a cue pair to save its setting.
These are your manual observations, not measured hardware latency. Repeat a few times with the same setup name; change one factor before comparing another setup. Maximum 30 observations per session.
Use a name such as “Wired · laptop” or “Bluetooth · TV”. The tool does not detect it.
| Setup | Visual offset | Judgment | Visual lateness | Action |
|---|---|---|---|---|
| No observations saved. | ||||
Report & local export
Includes the latest browser estimates, timing diagnostics and saved observations. Select the text and use your usual Copy command; no clipboard permission is requested. Download JSON saves a file locally.
Read your results & troubleshoot
- Sound is late: increase the visual offset. If the pair feels aligned at +120 ms, you chose to delay this page’s visual target by 120 ms. That is a subjective compensation setting, not proof of 120 ms hardware latency.
- Sound is early: decrease the visual offset. Negative offsets request an earlier visual cue. A zero offset requests the same rendering reference; it does not prove physical synchronization.
- Compare routes: save several aligned observations, then stop audio, change the system output and restart. Use a different setup name. The grouped median and min–max range show your choices; differences can also come from display timing, browser load or perception. The page cannot change another app’s sync settings.
- No sound: check system volume, tab muting and output routing. Try another tone, then stop and restart. A running audio context is not proof of an audible or connected speaker. Browser playback restrictions may need a fresh Start click.
- Unstable alignment: inspect missed cues and callback lateness, keep the page visible, reduce background load and repeat. Do not use a missed cue for an observation. Results from this browser are not automatically representative of games, video players or recording software.
- Browser support: Web Audio is capability-checked. Individual estimate properties may be unsupported. This playback-only tool uses no secure-context-only capture API, though browser/site policies can still block playback. If restricted, open the normal HTTPS page in a current browser. No input-device permission prompt is expected.