Skip to main content
AUDIO TESTING

Mic Latency Test

MIC TESTREADY

Measure microphone input delay and estimate audio round-trip latency directly in your browser using real-time acoustic loopback analysis.

RUNS LOCALLY
FREE • ONLINE
MICROPHONENot connected
INPUTMono
SAMPLE RATE48 kHz
STATUSREADY
01 // ACOUSTIC LOOPBACK ENGINE

OBSERVED ACOUSTIC LOOPBACK LATENCY

MIC INPUT STATUS: READY
MEASURED ROUND-TRIP DELAY:—
— ms
WAITING FOR TEST
Includes output buffer + speaker emission + air travel + microphone capture + OS audio pipeline.
BACKGROUND NOISE & CALIBRATION
QUIET
INPUT NOISE FLOOR:— dBFS
TRIGGER THRESHOLD:— dBFS
Digital input levels in dBFS. Does not represent acoustic SPL or microphone sensitivity.
MIC INPUT LEVEL
NO SIGNALNO CLIPPING
-90 dB-60 dB-40 dB-20 dB-6 dB0 dBFS
RMS: -90.0 dBFSPEAK: -90.0 dBFS
02 // REAL-TIME SIGNAL INSPECTION

LIVE MICROPHONE WAVEFORM & SPECTRUM

AnalyserNode.getFloatTimeDomainData()
LIVE MICROPHONE WAVEFORMReal-time input time-domain samples
MICROPHONE INPUT SPECTRUMLIVE MICROPHONE INPUT (Not mic frequency response)
20 Hz100 Hz1 kHz10 kHz20 kHz
03 // STATISTICAL AUDIT

10-ROUND LATENCY TEST & DISTRIBUTION

INSUFFICIENT DATA

Run 10 consecutive acoustic loopback tests to calculate statistical averages, filter acoustic jitter, and assess measurement repeatability.

ROUND 01 / 10
AVERAGE— ms
MEDIAN— ms
MINIMUM— ms
MAXIMUM— ms
P95— ms
JITTER— ms
LATENCY DISTRIBUTION (HISTOGRAM)
LATENCY OVER TIME (SCATTER)
04 // CONTINUOUS STRESS TEST

MIC LATENCY STABILITY TEST

ELAPSED: 00:00ATTEMPTS: 0VALID: 0FAILED: 0
AVERAGE: — msSTD DEV: — ms
05 // ARCHITECTURE

AUDIO PIPELINE FLOW & DELAY ACCUMULATION

01MicrophoneCapsule conversion
→
02Device DSPADC & AGC filters
→
03OS AudioKernel buffer pipeline
→
04Browser CaptureMediaStream IPC
→
05AudioContextAnalyserNode detection

Every stage in the pipeline contributes delay. This is why a browser measurement reflects total observed acoustic loopback latency rather than pure microphone hardware latency.

COMPREHENSIVE AUDIO ENGINEERING GUIDE

Mic Latency Test Guide

Learn what microphone latency is, how browser-based acoustic loopback testing works, and how to troubleshoot audio delay in USB, Bluetooth and built-in microphones.

01

What Is Microphone Latency?

Microphone latency is the duration of time that elapses between when a physical sound wave hits the microphone diaphragm and when the resulting digital audio samples become accessible to your computer software.

02

What Causes Microphone Latency?

Latency arises across every step of the signal chain: analog-to-digital conversion (ADC), internal DSP buffering, USB or Bluetooth transmission packetization, OS audio driver buffers (WASAPI/CoreAudio), and browser process queuing.

03

Microphone Hardware Latency

Pure analog microphone capsules have virtually zero latency (nanoseconds). However, digital USB and wireless microphones incorporate analog-to-digital converters and microcontrollers that introduce hardware-level buffering delays.

04

USB Microphone Latency

USB microphones send audio packets over USB transfer frames (typically 1 ms microframes). Combined with operating system driver buffering, USB mics generally exhibit between 5 ms and 25 ms of input capture latency.

05

Bluetooth Microphone Latency

Bluetooth microphones usually introduce 100 ms to 300 ms of delay. Bluetooth input profiles (like HFP/mSBC) use heavy packet buffering and compression to ensure connection stability over 2.4 GHz radio links.

06

Built-In Microphone Latency

Laptop and smartphone microphones are wired directly to the motherboard audio codec. While hardware transmission is fast, system-level noise cancellation and beamforming arrays can add noticeable processing lag.

07

Browser Audio Latency

Modern web browsers isolate audio capture into sandboxed renderer processes. Audio samples pass through inter-process communication (IPC) buffers before reaching the Web Audio API, adding a few milliseconds of delay.

08

Operating System Audio Latency

Windows (WASAPI shared mode), macOS (CoreAudio), and Linux (PulseAudio/PipeWire) manage shared audio streams by buffering audio in frames. Larger buffer sizes ensure glitch-free audio at the cost of higher latency.

09

Audio Buffering

Audio cannot be processed sample-by-sample without overwhelming your CPU. Instead, audio hardware bundles samples into buffers (such as 128, 256, or 512 samples). At 48 kHz, a 512-sample buffer adds 10.7 ms of unavoidable latency.

10

What Is AudioContext Latency?

The Web Audio API exposes `baseLatency` (the minimum processing quantum buffer) and `outputLatency` (the estimated delay to physical speaker emission). These values help software synchronize visual cues with audio playback.

11

What Is Round-Trip Audio Latency?

Round-trip latency is the total delay from digital output generation to physical emission, through acoustic air transmission, into microphone capture, and back into digital software memory.

12

What Is Acoustic Loopback?

Acoustic loopback plays a calibrated sound pulse through physical speakers into the room so that a nearby microphone captures it. This enables non-invasive browser testing without requiring specialized physical loopback cables.

13

How to Perform a Mic Latency Test

1) Click 'START MIC TEST'. 2) Position your microphone 10–30 cm from your speakers. 3) Click 'CALIBRATE MIC' in silence. 4) Run the 10-round test and review the resulting statistical average and median.

14

How to Calibrate a Microphone Test

Calibration samples ambient room noise for 2 seconds to establish your baseline digital noise floor. The algorithm automatically sets a trigger threshold 14 dB above room noise to prevent false triggers from air conditioners or fans.

15

How to Reduce Background Noise

Close windows, silence fans, avoid typing on keyboards, and position your microphone closer to the test speaker. A lower noise floor allows for tighter trigger thresholds and more precise latency onset detection.

16

How to Improve Microphone Latency

1) Use wired USB or XLR connections instead of Bluetooth. 2) Turn off browser echo cancellation and noise suppression. 3) Set OS audio sample rate to 48 kHz. 4) Close heavy background applications.

17

How Bluetooth Affects Microphone Latency

Bluetooth audio profiles trade latency for wireless packet reliability. Standard Bluetooth Hands-Free Profile (HFP) typically adds between 120 ms and 250 ms of wireless buffering overhead.

18

How USB Affects Microphone Latency

USB is an asynchronous host-controlled bus. Audio packets must be queued in USB endpoint buffers to prevent audio dropouts, contributing an inherent 3 ms to 15 ms of transmission delay.

19

How Noise Suppression Affects Audio

Browser-based noise suppression uses spectral subtraction algorithms that collect 10 ms to 30 ms of lookahead audio frames to distinguish human voice from noise, introducing slight buffering latency.

20

How Echo Cancellation Affects Audio

Acoustic Echo Cancellation (AEC) correlates incoming speaker audio with microphone input to cancel feedback. The required adaptive filter buffer can add 20 ms to 50 ms of pipeline delay.

21

How Automatic Gain Control Affects Audio

Automatic Gain Control (AGC) dynamically adjusts microphone input volume to normalize quiet and loud speech. While its latency impact is minimal (1–5 ms), it can amplify ambient noise during quiet intervals.

22

Why Microphone Latency Measurements Vary

Measurements fluctuate because operating systems use non-realtime thread schedulers, browser audio processes handle concurrent web tasks, and room reverberation can cause slight differences in sound arrival times.

23

Why One Measurement Is Not Enough

A single sample can be skewed by an unexpected CPU spike or room noise burst. Running a 10-round multi-sample test produces a reliable median and 95th percentile latency distribution.

24

Average vs Median Latency

The arithmetic average can be distorted by one anomalous measurement. The median represents the exact middle value and offers a more robust metric for typical real-world microphone delay.

25

Latency vs Jitter

Latency is the absolute transmission delay (e.g., 40 ms). Jitter is the statistical variation between repeated delay measurements. High jitter indicates unstable audio buffers or CPU throttling.

26

Why Human Reaction Time Is Different

Human auditory reaction time averages 150 ms to 250 ms. Tools that ask users to press a key when hearing a sound measure human reflex speed rather than electronic microphone latency.

27

Why Headphones May Not Work for Acoustic Loopback

Closed-back and in-ear headphones trap acoustic waves inside the ear canal. If sound cannot escape to reach the microphone capsule, acoustic loopback detection will fail.

28

How to Test Microphone Input on Windows

In Windows Sound Settings, verify that your microphone default format is 2-channel, 16/24-bit, 48000 Hz. Disable extra 'Audio Enhancements' in device properties to minimize latency.

29

How to Test Microphone Input on macOS

Open Audio MIDI Setup on macOS to inspect input format and sample rate. macOS CoreAudio provides exceptionally low native buffer latency, typically resulting in lower loopback numbers.

30

How to Test Microphone Input on Linux

Modern Linux distributions using PipeWire or ALSA allow configuring audio quantum sizes (e.g., `PIPEWIRE_LATENCY=128/48000`). Run the browser test with speakers to evaluate system loopback delay.

31

How to Test USB Microphone Latency

Connect your USB mic directly to a motherboard USB port rather than an unpowered hub. Run the 10-round test at 20% output volume to verify low-jitter loopback timing.

32

How to Test Bluetooth Microphone Latency

Pair your Bluetooth headset, confirm it is selected as the default input, and execute the test. Expect higher observed latency (120–250 ms) reflecting wireless radio frames.

33

How to Test Laptop Microphone Latency

Laptop mics are positioned near built-in speakers. Keep test volume moderate to prevent feedback screech, and disable manufacturer sound utility effects in the system tray.

34

How to Test Streaming Microphone Latency

In OBS Studio or Discord, audio delay causes lip-sync mismatch with webcams. Measuring observed microphone latency helps you dial in the exact audio sync offset in milliseconds.

35

How to Test Microphone Latency for Gaming

In competitive gaming, fast voice callouts are critical. Testing your microphone latency verifies that your team communication pipeline has no unexpected buffer lag.

36

How to Test Microphone Latency for Recording

Vocalists recording over pre-recorded backing tracks require round-trip latency under 10 ms to avoid hearing a comb-filtering delay in their direct monitor headphones.

37

How to Reduce Audio Monitoring Delay

For zero-latency monitoring, use your audio interface's hardware 'Direct Monitor' switch. This routes analog microphone input directly to headphones before entering computer buffers.

38

Browser Microphone Testing Limitations

Browsers are consumer software applications, not calibrated audio oscilloscopes. Browser measurements evaluate real-world observed loopback delay across the full software and acoustic stack.

FREQUENTLY ASKED QUESTIONS

Microphone Latency Testing FAQ

What is microphone latency?

Microphone latency is the time delay between sound physical pressure waves hitting the microphone capsule and the digital audio samples becoming available to an application or operating system.

How do I test microphone latency?

Click 'START MIC TEST', grant microphone permission, calibrate the background noise floor, and click 'START TEST'. The browser plays a short acoustic pulse through your speakers, detects it through your microphone, and computes the observed loopback delay.

What causes microphone delay?

Microphone delay is caused by analog-to-digital conversion, USB or Bluetooth controller packet buffering, operating system audio driver pipelines, browser audio process buffering, and device DSP algorithms (like noise cancellation).

What is round-trip audio latency?

Round-trip latency is the total elapsed time required for a digital audio signal to travel from software generation to speaker output, across the air to a microphone, through the capture driver, and back into software.

What is acoustic loopback?

Acoustic loopback is a testing technique where an audio output signal played through physical speakers travels through the air and is picked up by a nearby microphone.

Can a browser measure microphone latency?

A browser can measure end-to-end observed acoustic loopback delay using high-resolution Web Audio API clocks. It cannot isolate the physical microphone hardware delay from the rest of the OS and browser pipeline.

Does this test measure microphone hardware latency?

No. The measurement is an observed acoustic loopback delay that includes speaker output buffering, air propagation, microphone capture latency, OS driver buffers, and browser processing.

Can this test measure Bluetooth microphone latency?

Yes, as an observed loopback measurement. Bluetooth microphones typically exhibit 120 ms to 300 ms of delay due to wireless packetization, RF retransmission buffers, and low-complexity audio codecs.

Why is Bluetooth microphone latency high?

Bluetooth audio standards prioritize link reliability over low latency. Digital audio packets must be encoded, transmitted over 2.4 GHz radio, acknowledged, and decoded through operating system Bluetooth stacks.

Why does my USB microphone have delay?

USB microphones use internal USB audio class controllers that buffer audio packets (typically 5 ms to 20 ms) before handing them to Windows WASAPI, macOS CoreAudio, or ALSA drivers.

Why does my microphone have monitoring delay?

If you listen to your own voice through headphones while speaking, the sound passes through the operating system and recording software buffers before returning to your ears, causing a distracting echo.

Why does microphone latency change between tests?

Operating systems dynamically schedule audio buffer threads, browser processes face CPU load variations, and ambient room acoustics can cause slight jitter in pulse arrival detection.

What is AudioContext latency?

AudioContext latency includes baseLatency (the minimum hardware audio buffer delay) and outputLatency (the estimated delay between buffer submission and physical sound production).

What is input latency?

Input latency is the time from physical acoustic sound capture at the microphone capsule until the audio samples are processed by the software application.

What is output latency?

Output latency is the delay between a software audio command and the physical acoustic emission from your speakers or headphones.

What is the difference between input and round-trip latency?

Input latency measures only the capture side. Round-trip latency includes both the output playback chain, the acoustic path, and the input capture chain.

Does noise suppression increase latency?

Yes. Algorithmic noise suppression analyzes spectral frames in chunks (often 10 ms to 40 ms) to calculate noise profiles, introducing additional processing delay.

Does echo cancellation increase latency?

Yes. Acoustic Echo Cancellation (AEC) buffers incoming audio and compares it against captured microphone audio to cancel speaker bleed, adding buffering overhead.

Does automatic gain control affect latency?

Automatic Gain Control (AGC) introduces slight envelope lookahead buffering to adjust volume smoothly without sudden clipping.

Why does my microphone test fail?

The most common reasons are: output volume is too low for the mic to hear, headphones are being used instead of speakers, background noise is louder than the reference signal, or the wrong microphone is selected.

Why can't the microphone hear the test tone?

If using headphones, sound is sealed inside the earcups and cannot reach the microphone. Also verify that your speaker volume is set to a moderate listening level and output is not muted.

Why do headphones not work with acoustic loopback?

Acoustic loopback requires sound to travel through the open air from speaker to microphone. Sealed headphones keep sound away from the microphone capsule.

How accurate is a browser microphone latency test?

Browser Web Audio API clocks use microsecond-resolution performance.now() and AudioContext.currentTime, providing timing precision within 1 to 5 milliseconds for observed loopback delay.

Can this tool measure human reaction time?

No. This tool uses automatic Web Audio API signal detection (RMS energy and peak thresholding) to eliminate human biological reaction delay (~200 ms) from the measurement.

Can this tool measure SPL?

No. Measuring physical sound pressure level (decibels SPL) requires a laboratory-calibrated physical measurement microphone. This tool measures digital full-scale levels (dBFS).

Does this tool record my microphone?

No. Microphone audio is analyzed in real-time transient memory using AnalyserNode.getFloatTimeDomainData(). No audio recordings are saved or uploaded.

Is microphone testing private?

Yes. All processing runs 100% locally in your browser. No microphone data or telemetry leaves your computer.

What is a good microphone latency?

For real-time voice chat and streaming, observed round-trip loopback delay below 60 ms is considered excellent. Professional studio ASIO recording setups target under 15 ms.

How can I reduce microphone latency?

Use a wired USB or XLR microphone, switch to speakers placed near the mic during testing, disable browser echo cancellation and noise suppression, and set your OS audio buffer to 128 or 256 samples.

READY TO TEST YOUR MICROPHONE?

Allow microphone access and measure browser-observed audio latency using real microphone input and controlled acoustic loopback test tones.

TEST MICROPHONE →TEST AUDIO →