Creating Standard Periodic Waveforms

The following table gives the harmonic number, relative amplitude and phase of the harmonics for standard waveforms.


Table 1: Other Simple Waveforms Synthesized by Adding Sinusoids
         
Type Harmonics Amplitude Phase Phase
      (cosine) (sine)
         
         
square $ n = [1, 3, 5, ..., N]$ $ 1/n$ $ -\pi/2$ 0
  (odd)      
         
         
triangle $ n = [1, 3, 5, ..., N]$ $ 1/n^2$ 0 $ \pi/2$
  (odd)      
         
         
sawtooth $ n = [1, 2, 3, ..., N]$ $ 1/n$ $ -\pi/2$ 0
  (even and odd)      
         

Notice that the phase differs depending on whether you use a sine or cosine function.


``Music 171: Additive Synthesis'' by Tamara Smyth, Department of Music, University of California, San Diego (UCSD).
Download PDF version (addSynth171.pdf)
Download compressed PostScript version (addSynth171.ps.gz)
Download PDF `4 up' version (addSynth171_4up.pdf)
Download compressed PostScript `4 up' version (addSynth171_4up.ps.gz)

Copyright © 2019-10-22 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>