Latency tester
Play short clicks through the speakers and time their return through the microphone to measure round-trip latency.
ready
node examples/latency-tester.jsLoading source…
- Graph
- Click generator → Destination; Microphone → Analyser → onset detector
- Input
- Microphone stream, click interval
- Output
- Round-trip latency (ms)
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.