home/ atoms/ pulse-width-modulation

Modulating the pulse width of a square wave produces chorusing and Doppler-shift timbral effects

Pulse width modulation (PWM) continuously varies the duty cycle of a square (pulse) wave — the ratio of high to low voltage within each cycle. The pulse width is set by comparing the sawtooth carrier waveform against a threshold voltage. When the threshold is moved by a knob or control voltage, the pulse becomes narrower or wider, shifting the harmonic content. A slow LFO modulating the pulse width creates a subtle chorusing or detuning effect (because the waveform’s harmonic content oscillates). A faster or single-direction modulation (such as from an envelope) creates a Doppler-shift quality. At extreme settings (0% or 100% duty cycle), the wave disappears and goes silent; many modules restrict PWM to 10–90% to prevent cutout.

Examples

Classic sound: two oscillators slightly detuned + PWM on each = thick analogue pad. Modular patch: route LFO to pulse-width CV input for chorus effect. Envelope to PWM for a sweeping timbre change on attack.

Assessment

Explain the physical mechanism by which LFO-driven PWM creates a chorusing sound (hint: think about how the harmonic content of a pulse wave relates to its duty cycle). Explain why a PWM range of 0–100% can cause the sound to cut out.

“Changing the pulse width with the front panel knob or a voltage envelope creates an interesting 'Doppler shift' sound; modulating it back and forth with an LFO creates a 'chorusing' sound.”
corpus · bjooks-push-turn-move-patch-and-tweak-official-sample-pages · chunk 8
“Modulating square wave duty cycle for evolving, shimmering tonal qualities”
“This is turning a digital output ON and OFF very quickly to simulate values between 0 and 5 volts. If the output is 0 volts for 90% of the time and 5 volts for 10% this is called a 10% duty cycle.”
corpus · processing-handbook-no-login-mirror-pdf-reas-and-fry · chunk 148