 
 
 
 
 
 
 
 
 
 
The most fundamental property of a digital audio signal is its
amplitude.  Unfortunately, a signal's amplitude has no one canonical
definition. 
Strictly speaking, all the samples in a digital audio signal are themselves
amplitudes, and we also spoke of the amplitude  of the sinusoid as a whole.
It is useful to have measures
of amplitude for digital audio signals in general.  Amplitude
is best thought of as applying to a
window, a fixed range of samples of the signal.  For instance, the 
window starting at sample
 of the sinusoid as a whole.
It is useful to have measures
of amplitude for digital audio signals in general.  Amplitude
is best thought of as applying to a
window, a fixed range of samples of the signal.  For instance, the 
window starting at sample  of length
 of length  of an audio signal
 of an audio signal ![$x[n]$](img79.png) consists of the
samples,
 consists of the
samples,
![\begin{displaymath}
x[M], x[M+1], \ldots, x[M+N-1]
\end{displaymath}](img85.png) 
![\begin{displaymath}
{A_{\mathrm{peak}}} \{x[n]\} = \max \vert x[n] \vert ,
\hspace{0.3in}n = M, \ldots, M+N-1
\end{displaymath}](img86.png) 
![\begin{displaymath}
{A_{\mathrm{RMS}}} \{x[n]\} = \sqrt{P\{x[n]\}}
\end{displaymath}](img87.png) 
![$P\{x[n]\}$](img88.png) is the mean
power, defined as:
 is the mean
power, defined as:
![\begin{displaymath}
{P\{x[n]\}} = {1 \over N} \left (
{{\vert x[M]\vert} ^2} + \cdots + {{\vert x[M+N-1]\vert} ^2}
\right )
\end{displaymath}](img89.png) 
 in the window.
 in the window.
The RMS amplitude of a signal may equal the peak amplitude but never exceeds
it; and it may be as little as  times the peak amplitude, but
never less than that.
 times the peak amplitude, but
never less than that.
|  | 
Under reasonable conditions--if the window contains at least several periods and
if the angular frequency is well under one radian per sample--the peak
amplitude of the sinusoid is approximately  and its RMS amplitude
about
 and its RMS amplitude
about  .  Figure 1.2 shows the peak and RMS amplitudes
of two digital audio signals.
.  Figure 1.2 shows the peak and RMS amplitudes
of two digital audio signals.
 
 
 
 
 
 
 
 
