What is pulse wave?
Synthesis & Sound DesignA periodic waveform that alternates between two amplitude levels with an adjustable duty cycle. Changing the pulse width alters its harmonic content and timbre.
A periodic waveform that alternates between two amplitude levels with an adjustable duty cycle. Changing the pulse width alters its harmonic content and timbre.
A periodic pulse wave alternates between two amplitude levels. Its duty cycle is the fraction of each period spent at the high level. At 50% duty cycle, the high and low portions have equal duration, giving a square wave. Narrower or wider pulses change the balance of harmonics even when the repetition frequency stays fixed.
For an ideal 50% square wave, even-numbered harmonics are absent. At other widths, the harmonic pattern changes and different components can disappear. Real analog circuits have finite transition times, and digital oscillators must control aliasing, so practical waveforms do not reproduce an ideal infinite-bandwidth pulse exactly.
For an ideal periodic two-level waveform, T > 0 is the period in seconds, 0 < t_high < T is its high-level duration, D = t_high/T is the dimensionless duty cycle (0 < D < 1), and f_0 = 1/T is the repetition frequency in hertz. With levels +A and −A (A > 0), A_n is the *peak amplitude* of the nth non-DC harmonic, for integer n ≥ 1; A_n = 4A|sin(πnD)|/(πn). At D = 1/2 the even harmonics vanish and A_1 = 4A/π. At D = 1/4 every fourth harmonic vanishes; when A = 0.5, A_1 = √2/π ≈ 0.4502. The waveform also has mean (DC) level A(2D − 1), which is zero only at D = 1/2. The model assumes instantaneous edges and infinite bandwidth; physical and band-limited digital pulses differ.
Pulse waves are common oscillator sources in subtractive synthesis, electronic basses, leads and retro game-inspired sounds.
Pulse width is not the same as period or amplitude. A fixed duty cycle produces a fixed pulse shape; varying the width over time is pulse-width modulation.