Audio signals typically represent physical variables such as displacement, velocity, force, pressure, ...
In most cases, we are concerned with variables that are time-dependent.
A common signal used in audio processing and synthesis is a sinuoid, represented in continuous-time as:
where is the peak amplitude,
is the radian frequency, is frequency in Hz, and is the initial phase of the sinusoidal signal.
A sinusoid is the simplest example of a periodic signal. The period or duration of a single cycle of a periodic waveform is given by the inverse of its frequency .
Figure 1:
A segment of a sinusoidal signal.
A discretized version of that same signal is found by making the substitution in continuous-time expression, where is the sampling time interval or period and
(integers). A sampled sinusoid will then have the form:
where
is the normalized radian frequency.
By Shannon's Sampling Theorem, a continuous-time signal can be exactly reconstructed from its samples
if the samples are taken at a rate
that is greater than two times the highest frequency component in the signal.
In other words, we must obtain more than two samples per period for all frequency components in a signal in order to accurately represent that signal.
In order to satisfy this condition, signals are typically bandlimited or filtered before they are sampled (and after they are converted back to analog signals).
If the sample rate does not meet the condition outlined above, any frequency components in the signal that are greater than will “alias”.
The recent trend toward very high sample rates (96 kHz, 182 kHz) is based more on hardware implementation issues than an attempt to accurately represent frequency components beyond the normal range of the human auditory system.
It is worth noting that a sampling system must also have sufficient electrical headroom to capture the full amplitude range of a signal without “clipping.” Quantized amplitude levels can be mapped to different numerical formats (8-bit, 16-bit, 32-bit integers or floating-point numbers), which can have significant influence on the quality of a sampled signal.