The amount of audio data processed in each block by a digital audio system. Smaller buffers generally reduce monitoring latency but require more frequent processing, while larger buffers increase latency and can improve processing stability.
What does buffer size mean?
In a real-time digital audio system, buffer size is the number of sample frames handled in a processing block. The software and audio driver exchange blocks rather than responding to every individual sample independently. A smaller block shortens the time represented by each buffer, which can reduce the delay between playing a note and hearing the monitored result.
The tradeoff is the processing deadline. Small blocks require the computer to finish work and deliver data more frequently. Scheduling overhead, demanding plugins, or other interruptions can then cause missed deadlines, heard as clicks or dropouts. Larger buffers give the system more time between deadlines and often improve stability, but usually increase monitoring latency.
The selected buffer does not describe every source of delay. Analog-to-digital and digital-to-analog conversion, driver safety buffers, operating-system paths, and plugin lookahead can add time. A software-monitored input normally travels through both input and output paths, while a played software instrument primarily depends on its event-processing and output path. Actual round-trip latency is therefore not always exactly twice one buffer.
Duration Represented by One Buffer
Tbuffer=1000fsNms
N≥1 is an integer number of sample frames per processing block and fs>0 is the sampling rate in frames per second (Hz). The quotient N/fs is in seconds; multiplication by 1000 gives milliseconds. One frame includes one sample per channel, so a 128-frame stereo block spans the same time as a 128-frame mono block. This calculates one block’s duration only, not the measured input-to-output or round-trip latency, which can include other buffers, conversion, and processing delays.
Examples related to buffer size
At 48 kHz, a 128-frame buffer represents about 2.67 ms; 512 frames represent about 10.67 ms. Input/output buffering and other delays must be added when evaluating a monitored recording path.
A performer may need a smaller buffer while playing a software piano. During later mixing, a larger buffer may be more practical because the immediate response to a played note is no longer the main concern.
Common confusions and distinctions
Buffer size is not bit depth or sample rate. Increasing it does not inherently reduce audio fidelity or change the recorded pitches. Direct monitoring can bypass the DAW’s monitoring path, but it does not eliminate every delay elsewhere or let the performer hear arbitrary software processing without that processing’s latency.