The process of converting digital audio samples into a continuous analog electrical signal. A digital-to-analog converter reconstructs the signal for playback through amplifiers, headphones or loudspeakers.
What does digital-to-analog conversion mean?
Digital-to-analog conversion turns numerical signal values into a continuous electrical signal. In audio, a DAC and its surrounding circuitry convert the stored or streamed sample sequence into a voltage that can feed an amplifier or another analog device. A loudspeaker or headphone driver then performs the separate step of turning electrical energy into acoustic vibration.
Reconstruction filtering is part of the process. A simple sample-and-hold output contains unwanted spectral images as well as the desired audio band. Filtering suppresses those images, and many modern audio converters use oversampling, interpolation and noise shaping as part of a more elaborate implementation. The final waveform is not supposed to be a staircase of audible sample steps.
Ideal sampling theory shows how a properly band-limited signal can be reconstructed from its samples. A real converter approximates the ideal within practical limits set by filtering, clock behavior, noise, distortion and the analog output stage. It does not recover information that was already lost through clipping, destructive processing or lossy encoding.
Ideal Band-Limited Reconstruction
xr(t)=n=−∞∑∞x[n]sinc(fst−n)
sinc(u)=πusin(πu),sinc(0)=1
x[n] is a sequence of exact signal-amplitude samples indexed by every integer n, taken at a uniform sample rate fs>0 in samples per second; t is continuous time in seconds. xr(t) is the ideal reconstructed waveform in the same amplitude units as x[n]. The argument u=fst−n of the dimensionless normalized sinc(u) is dimensionless, and its value at zero is defined by the limit 1. Exact recovery requires an infinite two-sided sequence sampled from a signal strictly band-limited below fs/2 (hertz), with no aliasing and exact sample values. Finite data, quantization, filtering and analog circuitry introduce departures; hardware does not need to calculate this infinite sum literally.
Examples related to digital-to-analog conversion
An audio interface converts the DAW’s digital output stream into analog line outputs for powered monitors.
A digital synthesizer with an analog headphone output uses conversion before the headphone amplifier and driver can produce sound.
Common confusions and distinctions
A DAC is not an amplifier or a loudspeaker, even when all are housed in one device. Reconstruction filtering suppresses sampling images; it cannot undo pre-existing aliasing in the stored audio. Analog output level also depends on calibration and gain, so a digital sample value alone does not specify a universal voltage.