The Fourier series

(Java is no longer supported by many popular browsers, and can be difficult to enable others…)

Experiment with harmonic (Fourier) synthesis with this Java applet! The sliders represent the levels of the first eight harmonics in the harmonic series. The second harmonic is twice the frequency of the first, the third is three times that of the first, and so on. The graph shows one cycle of the resulting waveform.



If you had a Java-equiped browser, you’d see as applet here that looks like this.

Press the Sawtooth button to get an eight-harmonic approximation of a sawtooth waveform. A sawtooth waveform contains all harmonics; the second harmonic is one-half the level of the first, the third harmonic is one-third the level of the first, and so on. (Continuing the series yields a more accurate sawtooth.)

Similarly, press the Square button for a square-wave approximation. A square wave is made of only odd-numbered harmonics, in the same relationship as those of the sawtooth.

One way of looking at this is that the sliders represent the frequency domain of a waveform (the level of its frequency components—how we hear), and the graph represents its conversion to the time domain (the signal as it is routed through audio equipment and speakers, only to be converted back to the frequency domain by our ears!).

This entry was posted in Digital Audio, FFT, Fourier, Widgets. Bookmark the permalink.

3 Responses to The Fourier series

  1. jacques says:

    Great! This serie of articles helped me alot to understand Fourier analysis and FFT.

    thanks
    Jacques

  2. Neira says:

    Hello,
    I can’t see the applet. I tried on several browsers.

    • Nigel Redmon says:

      Java is no longer supported most major browsers (Chrome, Firefox, Edge), and for others (Safari), it’s difficult (enabling the site as an exception, security prompts). I might make a better app in Javascript at some point…

Leave a Reply

Your email address will not be published. Required fields are marked *