FROM AGPEDIA — AGENCY THROUGH KNOWLEDGE

Latency (audio)

Audio latency is the time delay as an audio signal passes through a system.[1:1] It matters most where a person hears the result of their own action, as when a musician plays an electronic instrument, and how low it must be is the subject of considerable debate.[2:1]

Where latency comes from

Android's documentation of its audio system names the major surface-level contributors to output latency as the application, the total number of buffers in the pipeline, the size of each buffer in frames, and any additional latency after the application processor, such as processing on a DSP.[3:1]

It describes buffer count and size as more an effect than a cause. A buffer underrun or overrun is heard as a click or pop; to stop these, a system designer enlarges the buffers or adds more, which removes the clicks but increases latency. A better approach is to find and correct the causes of the underruns and overruns, which can permit smaller or fewer buffers and so reduce latency.[3:1] The most common causes it lists are general-purpose "fair" scheduling of high-priority audio threads, priority inversion, long scheduling latency, long-running interrupt handlers and long periods with interrupts disabled, power management and security kernels; for scheduling latency, it says, anything over two milliseconds causes problems for audio.[3:2]

How much is acceptable

In a 2001 paper on the control of computer instruments, David Wessel and Matthew Wright placed the acceptable upper bound on a computer's audible reaction to a performer's gesture at 10 milliseconds; the systems they described had measured latencies nearer 7 ms. They argued that low variation of latency is critical and should not exceed 1 ms, noting that percussionists control the timbre of grace notes such as flams with a temporal precision of less than 1 ms.[2:1]

  1. ^ ↗ al-definition Android Open Source Project (2026-10-09). Audio latency. Android Open Source Project documentation: Core topics. https://source.android.com/docs/core/audio/latency.
  2. ^a ^b ↗ ww-latency Wessel, David; Wright, Matthew (2001). Problems and Prospects for Intimate Musical Control of Computers. Proceedings of the CHI’01 Workshop on New Interfaces for Musical Expression (NIME-01). https://nime.org/proc/wessel2001.
  3. ^a ^b ↗ ac-buffers ^ ↗ ac-causes Android Open Source Project (2026-10-09). Contributors to audio latency. Android Open Source Project documentation: Core topics. https://source.android.com/docs/core/audio/latency/contrib.

Wikidata: Q17096504

Available in