Browser Audio Timing Estimates: What They Measure

Browser audio timing properties report information about an audio context’s processing and output path; they are not independent acoustic measurements of the complete speaker-to-microphone loop. Keep the property’s definition, units and availability with the number. An unsupported value is not a measured zero.

These estimates are useful diagnostic context, especially when checking which route a browser is using. They cannot automatically identify a Bluetooth codec’s own delay or certify the response of a separate DAW or game.

Read the property name before the value

Web Audio’s baseLatency concerns processing from the end of the audio graph into the host audio subsystem. outputLatency provides an estimate of output presentation delay according to its API definition. Values are expressed in seconds, even when a user interface converts them to milliseconds.

MDN documents both properties and their platform-dependent availability. Do not treat one displayed figure as a complete hardware measurement. Browser, operating-system and route behavior determine what information can be exposed.

Different browser observations answer different questions
ObservationUseful interpretationLimit
baseLatencyReported context processing timingNot a microphone loop measurement
outputLatencyEstimated output presentation timingPlatform and route dependent
Acoustic returnDetected sound through an output-and-input pathIncludes more than output alone

The round-trip guide defines the broader acoustic path. Its start and end points differ from an API property, even when both results use milliseconds.

Convert seconds without adding certainty

A reported 0.012 seconds equals 12 ms. A value of 0.085 seconds equals 85 ms. Multiplying by 1,000 changes units; it does not improve the estimate’s accuracy or identify which internal component contributed the time.

If a page displays many decimal places, retain appropriate caution about the underlying method. A calculated conversion can be precise while the physical interpretation remains limited. Do not infer sub-millisecond calibration from a finely formatted result.

The input and output guide helps label those boundaries. Without an input measurement designed for the same timing system, an output estimate cannot reveal the capture path by itself.

Why subtraction can produce a misleading answer

Suppose an acoustic browser result is 90 ms and a separately reported output estimate is 20 ms. Subtracting gives 70 ms arithmetically, but that does not prove the microphone latency is 70 ms.

The observations can have different boundaries, clock relationships and coverage. The acoustic result includes air travel, capture processing and matching behavior as well as output stages. A valid component separation requires a controlled method that accounts for those definitions.

Similarly, adding properties without checking their specified relationship can double-count or omit stages. Report the separate named fields rather than inventing an end-to-end total that the method has not established.

What an output timestamp adds

The getOutputTimestamp method returns a context-time value and a performance-time estimate associated with output presentation. It relates the audio context timeline to the performance timeline. This can help software reason about when a frame is being rendered.

It does not observe a physical flash reaching the eye or a loudspeaker’s pressure wave reaching a microphone. Visual synchronization still involves display scheduling and the actual output environment.

The site’s AV sync tool offers a subjective relative comparison, not automatic independent hardware timing. Keep that distinction when using a visible marker beside a click.

Repeat after route or device changes

  1. Identify the browser, operating system and intended audio output.
  2. Start the chosen method and note which fields are actually available.
  3. Keep browser-reported values separate from acoustic results.
  4. Change one route or device condition deliberately.
  5. Start a fresh observation and keep the new labels with it.

A saved result describes the context that produced it. Reconnecting headphones, changing the operating-system output or creating a new audio context can change the situation. Do not assume an earlier number still describes the current route.

The Bluetooth comparison tool uses manually selected path labels. A label does not cause the browser to discover the active codec or isolate wireless encoding time.

Compare with an acoustic result for the right reason

The homepage audio latency test separates its browser-reported mode from an acoustic chirp method. The latter needs an audible output returning to the chosen microphone; closed headphones worn normally may not provide that physical loop.

The testing procedure explains consistent geometry and repeated observations. A difference between the two methods is not automatically an error: they do not measure identical quantities.

Requests such as a low-latency hint or disabled capture processing are also not unconditional guarantees about hardware behavior. Confirm the observed route and available fields rather than assuming every requested setting took effect exactly.

Use a method-specific comparison note

A useful note might say “browser output estimate, this browser and device” or “acoustic round trip, this speaker and microphone arrangement.” Include unavailable fields explicitly instead of replacing them with zeros.

If the practical problem occurs in a DAW, confirm it there as well. The driver/API comparison explains why applications can follow different audio arrangements. A browser estimate does not globally set or measure every application’s driver path.

Frequently asked questions

Is outputLatency a measured microphone round trip?

No. It is an output estimate defined by the browser API. The complete acoustic loop requires output, air travel and input capture observations.

What does an unavailable value mean?

The property may not be supported or usable in that context. It does not supply a successful measurement of zero delay.

Can I subtract outputLatency from round trip?

Not to establish microphone latency without a method that reconciles the boundaries and clocks. A numerically correct subtraction can still have an unsupported interpretation.

Does getOutputTimestamp measure my display?

No. It relates audio-context and performance timing. Physical display presentation and acoustic arrival are additional processes outside that timestamp alone.

Will a latency hint guarantee the requested timing?

No. The browser may choose behavior appropriate to the platform. A request and an observed result must be kept distinct.

Why is a DAW different from the browser?

It can use a different driver, buffer, processing graph and route. Verify the application where the problem occurs instead of treating one browser result as universal.

Scroll to Top