Sawtooth – all harmonics that fall off at −6 dB/oct • Square – odd harmonics that fall off at −6 dB/oct • Triangle – odd harmonics that fall off at −12 dB/oct Square Sawtooth Triangle
generated from sawtooth waves • An inverted sawtooth wave is also known as a ramp wave or downward sawtooth • If you combine a sawtooth wave and a delayed ramp wave, you get a pulse wave whose width is defined by the delay • A gainNode with a gain of -1 will invert a waveform
oscillator with user- defined width • Start and stop the oscillator on button clicks • Change the pulse width in response to a slider • Exercise boilerplate: bit.ly/1MbmCGp
indirectly, via their interaction with other audible parameters • This is called modulation • An oscillator that operates below the audio range and modulates another parameter is called a Low Frequency Oscillator (LFO) • LFOs can modulate many things, e.g. pitch, filter, or pulse width • A pulse wave whose width is modulated creates Pulse Wave Modulation (PWM)