next up previous contents index
Next: About the Software Examples Up: Acoustics of digital audio Previous: Frequency   Contents   Index


Periodic Signals

A signal $x[n]$ is said to repeat at a period $\tau$ if

\begin{displaymath}
x[n + \tau] = x[n]
\end{displaymath}

for all $n$. Such a signal would also repeat at periods $2 \tau$ and so on; the smallest $\tau$ if any at which a signal repeats is called the signal's period. In discussing periods of digital audio signals, we quickly run into the difficulty of describing signals whose ``period" isn't an integer, so that the equation above doesn't make sense. Throughout this section, we'll avoid this difficulty by supposing that the signal $x[n]$ may somehow be interpolated between the samples so that it's well defined whether $n$ is an integer or not.

The SINUSOID has a period (in samples) of $2 \pi / \omega$ where $\omega $ is the angular frequency. More generally, any sum of sinusoids with frequencies $2 \pi k/ \omega$, for integers $k$, will have this period. This is the FOURIER SERIES:

FOURIER SERIES

\begin{displaymath}
x[n] = {a_0} +
{a_1} \cos \left ( \omega n + {\phi_1} \rig...
... + \cdots +
{a_p} \cos \left ( p \omega n + {\phi_p} \right )
\end{displaymath}

Moreover, if we define the notion of interpolation carefully enough, we can represent any periodic signal as such a sum. This is the discrete-time variant of Fourier analysis which will reappear in many guises later.

The angular frequencies of the sinusoids above, i.e., integer multiples of $\omega $, are called harmonics of $\omega $, which in turn is called the fundamental. In terms of pitch, the harmonics $\omega, 2 \omega, \ldots$ are at intervals of 0, 1200, 1902, 2400, 2786, 3102, 3369, 3600, ..., cents above the fundamental; this sequence of pitches is sometimes called the harmonic series. The first six of these are all oddly close to multiples of 100; in other words, the first six harmonics of a pitch in the Western scale land close to (but not always on) other pitches of the same scale; the third (and sixth) miss only by 2 cents and the fifth misses by 14.

Put another way, the frequency ratio 3:2 is almost exactly seven half-tones, 4:3 is just as near to five half tones, and the ratios 5:4 and 6:5 are fairly close to intervals of four and three half-tones, respectively. These four intervals are called the fifth, the fourth, and the major and minor thirds--again for historical reasons which don't concern us here.

Leaving questions of phase aside, we can use a bank of sinusoidal oscillators to synthesize periodic tones, or even to morph smoothly through a succession of periodic tones, by specifying the fundamental frequency and the (possibly time-varying) amplitudes of the partials. Figure 1.5 shows a block diagram for doing this. This is a special case of additive synthesis; more generally the term can be applied to networks in which the frequencies of the oscillators are independently controllable. The early days of computer music were full of the sound of additive synthesis.

Figure 1.5: Using many oscillators to synthesize a waveform with desired harmonic amplitudes.
\begin{figure}\psfig{file=figs/fig01.07.ps}\end{figure}


next up previous contents index
Next: About the Software Examples Up: Acoustics of digital audio Previous: Frequency   Contents   Index
Miller Puckette 2005-02-21