Fourier series coefficients

Consider an audio signal given by

s(t) = sin(440´ 2p t) + sin(550 ´ 2p t) + sin(660´ 2p t).

This is a major triad in a non-well-tempered scale. The first tone is A-440. The third is approximately E, with a frequency 3/2 that of A-440. The middle term is approximately C sharp, with a frequency 5/4 that of A-440. It is these simple frequency relationships that result in a pleasant sound. We choose the non-well-tempered scale because it makes it much easier to construct a Fourier series expansion for this waveform.

To construct the Fourier series expansion, we can follow these steps:

sin(2pft) = sin(2pf (t - p))
if f p is an integer. Thus, we want to find the smallest p such that 440p, 550p, and 660p are all integers. Equivalently, we want to find the largest fundamental frequency f0 such that 440/ f0, 550/ f0, and 660/ f0 are all integers. Such an f0 is called the greatest common divisor of 440, 550, and 660. This can be computed using the gcd function in Matlab. In this case, however, we can do it in our heads, observing that f0 = 110. Putting this all together, the Fourier series expansion can be written

where w 0 = 220p.

Clearly this method for determining the Fourier series coefficients is tedious and error prone, and will only work for simple signals. We will see much better techniques.

Exercise

Determine the fundamental frequency and the Fourier series coefficients for the well-tempered major triad,

s(t) = sin(440´ 2p t) + sin(554 ´ 2p t) + sin(659´ 2p t).