Digital audio processing--the analysis and/or synthesis of digital sound-is done by processing digital audio signals. These are sequences of numbers,
We call this sinusoid real to distinguish it from the complex sinusoid (chapter 7), but where there's no chance of confusion we will simply say ``sinusoid" to speak of the real-valued one.
Figure 1.1 shows a sinusoid graphically.
Digital audio signals do not have any intrinsic relationship with time, but
to listen to them we must choose a
sample rate, usually given the variable name , which is the number
of samples that fit into a second. Time is related to sample number by
, or . A sinusoidal signal with angular frequency
has a real-time frequency equal to
A real-world audio signal's amplitude might be expressed as a time-varying voltage or air pressure, but the samples of a digital audio signal are unitless real (or in some later chapters, complex) numbers. We'll casually assume here that there is ample numerical accuracy that round-off errors are negligible, and that the numerical format is unlimited in range, so that samples may take any value we wish. However, most digital audio hardware works only over a fixed range of input and output values. We'll assume that this range is from -1 to 1. Modern digital audio processing software usually uses a floating-point representation for signals, so that the may assume whatever units are convenient for any given task, as long as the final audio output is within the hardware's range.