O'Reilly logo

Programming Sound with Pure Data by Tony Hillerson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Synthesizing Other Geometric Waves

Although lots of different waves could be generated using the sinesum technique or other techniques, let’s generate some other geometric waves beside the sine wave. Geometric waves are basically waves with a geometric shape. We’ll generate a sawtooth wave, a square wave, and a triangle wave, which any musicians interested in synthesizers will recognize easily. The following sections will show you how to reproduce these waves.

Sawtooth Wave

The sawtooth wave, sometimes called a ramp wave, is an interesting contrast to the sine wave. Whereas the sine wave is a pure tone consisting of only the fundamental frequency, the sawtooth wave is a very harmonically rich wave.

A sawtooth wave’s partials are in the ratio ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required