Latency tester
Play short clicks through the speakers and time their return through the microphone to measure round-trip latency.
npx web-audio-api latency-tester
Loading source…
This is an audio latency test: it plays short clicks through the speakers and times how long the microphone takes to hear them back, reporting the median round-trip latency in milliseconds. Try it in the browser to check a laptop or headset audio latency, or run the Node CLI version against @audio/mic for scripted round-trip latency measurements.