Pulse Width Modulation
Picture of Drey Andersson

Drey Andersson

Drey Andersson is a professional music producer and mixing engineer with over 20 years of experience in electronic music production, sound design, and audio engineering. Based in Berlin, Germany, he specializes in advanced multi-genre production techniques and innovative approaches to urban pop, hip-hop and electronic music. Drey has worked as a ghostproducer for many DJs and indie Artists as well as Artists like Yeezy, Shekhina —the latter collaboration earning him recognition with the SAMA award. He continues to push the boundaries of modern music production through technical innovation and creative application including his own Music Production Community "Beat Unit" in Berlin, Germany

Pulse Width Modulation

TL;DR – Key Takeaways

Pulse Width Modulation (PWM) transforms a basic square wave into rich, animated, chorus-like sounds by continuously changing the duty cycle (the ratio between high and low voltage periods) of a pulse wave. This technique creates lush, rolling, evolving tones that breathe life into static sounds, making it essential for string pads, bass sounds, and lead synthesis. Modern producers can access PWM through classic analog synthesizer emulations and cutting-edge VST plugins in their DAWs.

Essential facts: PWM works by varying the pulse width from 5% to 95% duty cycle, creates harmonic content changes that simulate detuned oscillators, and remains a cornerstone technique in both vintage analog synths and modern digital instruments.

What is Pulse Width Modulation?

Pulse width modulation is a method of modifying a periodic signal based on some characteristic of another signal. In synthesizer terms, PWM takes a simple pulse wave and continuously changes its width over time, creating complex harmonic variations that transform static tones into dynamic, evolving sounds.

The Technical Foundation

A square wave has a 50% duty cycle, meaning equal time between maximum voltage and minimum voltage. When you change this ratio to 75% or 25%, you create a pulse wave. The “duty cycle” represents the percentage of time the signal stays high versus low during each cycle.

When a voltage source, such as an LFO, is plugged into the PWM CV input, the pulse width of the wave will lengthen and shorten according to the LFO’s voltage value, creating a phasing effect. This continuous modulation is what gives PWM its characteristic sound.

Why PWM Creates Such Rich Sounds

As the duty cycle changes, harmonics drop in and out as their amplitudes are modulated according to the mathematical “sinc” function. This mathematical relationship means that PWM doesn’t just change volume – it fundamentally alters the harmonic content of the sound.

PWM is equivalent to the sum of two sawtooth waves with one of them inverted, giving a sound effect similar to chorus or slightly detuned oscillators played together. This explains why a single PWM oscillator can sound as rich as multiple oscillators playing simultaneously.

The History and Evolution of PWM

Industrial Origins to Musical Magic

PWM wasn’t invented for synthesizers – it was first used in steam engines, then motors and electronics to control thresholds and speeds in power switching. Engineers discovered that this practical industrial technique could create fascinating audio effects when applied to musical frequencies.

The Corliss steam engine was patented in 1849 and used pulse-width modulation to control the intake valve of a steam engine cylinder with a centrifugal governor for automatic feedback. This historical connection shows how PWM bridges industrial precision with musical creativity.

Classic Synthesizer Implementations

The golden age of analog synthesis brought PWM to prominence in music production. The CEM3340 oscillator chip used in the Roland SH-101 was also found in the Sequential Prophet 5, Oberheim OB-Xa, and the Moog MemoryMoog – all famous for their lush tone.

The Roland SH-101 lets you modulate the pulse wave by LFO, envelope or manually with a slider. Interestingly, even though the SH-101 had other LFO waveforms available, the PWM was always tied to the triangle wave. This design choice became a defining characteristic of the SH-101’s sound.

Classic Jupiter 8 string sounds combine a PWM’d oscillator with a sawtooth oscillator producing three pitches that are very slightly detuned from one another, creating the chorus effect. This technique established PWM as essential for lush string and pad sounds.

How Pulse Width Modulation Works in Practice

Understanding Duty Cycle Variations

Hardware synths typically restrict PWM extremes to around 5% to 95% duty cycle to avoid the ripping of the waveform as it approaches 0 or 100% (and the silence when it reaches there). This practical limitation ensures musical results while maintaining the dramatic timbral shifts that make PWM attractive.

The sweet spots for PWM include:

  • 50% duty cycle: True square wave with only odd harmonics
  • 25% and 75% duty cycles: Pulse waves that make up the soundtracks of classic video games
  • 12.5% duty cycle: Extremely narrow pulse creating bright, cutting tones
  • Continuous modulation between these points: Creates the characteristic PWM sweep

Modulation Sources and Control

PWM accepts various modulation sources beyond the classic triangle wave LFO:

LFO Modulation: PWM works well at bass frequencies with slow modulation around 1Hz, and at high frequencies when somewhat faster around 5Hz. Many producers set LFO rates between 0.5Hz and 3Hz for optimal musical results.

Envelope Modulation: Try patching from an envelope generator into the PWM CV input to create evolving textures that respond to note timing. This technique works exceptionally well for bass sounds and lead lines.

Manual Control: Real-time PWM manipulation via dedicated knobs or MIDI controllers allows for expressive performance techniques and precise sound sculpting during recording.

Musical Applications and Sound Design

String Pads and Ensemble Sounds

PWM is most commonly used for generating rich string pads and other ensemble sounds, especially on polyphonic synthesizers that have no chorus units. The technique creates an illusion of multiple instruments playing together, even from a single oscillator.

For optimal string pad results:

  • Use moderate PWM rates (0.8Hz to 2Hz)
  • Apply moderate modulation depth (30-60%)
  • Combine with sawtooth oscillators for added brightness
  • Add subtle detuning between oscillators for enhanced chorus effect

Bass Synthesis Applications

PWM excels in bass sound creation because experience shows that PWM works well at bass frequencies if the modulation speed is quite slow – around 1Hz. This slow modulation creates a “breathing” quality that adds life to otherwise static bass tones.

Bass-focused PWM techniques include:

  • Extremely slow modulation rates (0.3Hz to 1Hz)
  • High modulation depth for dramatic timbral shifts
  • Narrow starting pulse widths (10-20%) for punch
  • Envelope control for attack emphasis

Lead and Solo Sounds

PWM transforms simple pulse waves into complex, evolving lead tones perfect for solos and melodic lines. The continuously shifting harmonic content keeps listeners engaged while providing the brightness needed for leads to cut through dense mixes.

Modern PWM: VST Plugins and Digital Implementation

Current Software Synthesizers

The VST plugin market in 2025 offers numerous options for PWM synthesis. HY-Poly Free features oscillators that can morph between saw and pulse waveforms, offering PWM, vibrato, and oscillator sync capabilities. This demonstrates how modern free plugins include sophisticated PWM implementations.

Synthegrated 80 includes 3 robust oscillators with pulse-width modulation (PWM) with adjustable rate and depth, as well as sync options to create harmonically rich and dynamic sounds. These modular-style implementations give producers unprecedented control over PWM parameters.

Popular PWM-Capable Plugins

Serum by Xfer Records: Steve Duda’s Serum took Massive’s blueprint and became the go-to for producers of EDM and bass music with dual wavetable oscillators and spectacular unison voicing. Serum’s PWM capabilities extend beyond traditional methods through wavetable manipulation.

Vital: This new wavetable synth VST continues to be incredibly popular because it’s absolutely free but features no fewer capabilities than Serum. Vital includes comprehensive PWM controls with visual feedback for precise sound design.

Diva by U-he: Diva embodies synthesis in its purest form, capturing the essence of vintage analog synths while delivering modern clarity and usability. Diva’s PWM accurately recreates classic analog behavior.

Programming PWM in Digital Environments

Modern digital implementation offers advantages over hardware:

  • Visual feedback: Real-time waveform displays show PWM effects
  • Precise control: Exact duty cycle percentages and modulation depths
  • Advanced modulation: Complex modulation matrices beyond simple LFO control
  • Automation: DAW integration for precise PWM automation over time

Advanced PWM Techniques and Creative Applications

Synthesizing PWM Without Dedicated Controls

PWM can be synthesized even on synths that don’t offer dedicated PWM controls. This involves creative routing and modulation techniques that simulate PWM effects through alternative methods.

One approach involves combining sawtooth and ramp waves or using the architecture that modulates and combines two square waves in the way that characterizes pulse-width modulation. While not identical to true PWM, these techniques produce similar musical results.

Multi-Layered PWM Applications

Professional producers often layer multiple PWM sources:

  • Different modulation rates: Layer fast and slow PWM for complex movement
  • Stereo PWM: Pan different PWM rates left and right for width
  • Harmonic layering: Combine PWM at fundamental and octave frequencies
  • Filter modulation: Sync PWM rate to filter cutoff modulation

PWM in Modern Electronic Genres

Contemporary electronic music genres utilize PWM differently:

House and Techno: Subtle PWM on bass elements for groove enhancement Ambient and Downtempo: Audio Damage’s Continua synth features continuous morphing ability, perfect for sculpting evolving limitless soundscapes EDM and Bass Music: Aggressive PWM modulation synchronized to track tempo for rhythmic interest Synthwave and Retrowave: Classic PWM techniques recreating 1980s synthesizer aesthetics

Troubleshooting Common PWM Issues

Avoiding Unwanted Artifacts

Aliasing: Digital PWM can create aliasing artifacts at extreme settings. Use high-quality plugins with anti-aliasing algorithms or restrict modulation ranges to musical zones.

Phase Issues: When combining PWM with other oscillators, phase relationships can create hollow sounds. Adjust oscillator phases or use slight detuning to resolve conflicts.

CPU Overload: Complex PWM modulation can be processor-intensive. Freeze or render PWM tracks when possible, or use efficient plugins designed for low CPU usage.

Optimizing PWM for Different Contexts

Mixing Considerations: PWM creates wide frequency content that may need EQ adjustments. High-pass filtering can clean up unnecessary low frequencies while preserving character.

Stereo Imaging: PWM naturally creates stereo interest, but excessive width can cause phase issues. Monitor in mono to ensure compatibility across playback systems.

The Science Behind PWM: Understanding Harmonic Content

Mathematical Foundations

Square waves contain only odd harmonics, but as the duty cycle changes, other harmonics drop in and out as their amplitudes are modulated according to the mathematical “sinc” function. This sinc function relationship explains why PWM creates such dramatic timbral changes.

The harmonic content varies predictably:

  • 50% duty cycle: Only odd harmonics (1st, 3rd, 5th, 7th…)
  • 25% or 75% duty cycle: Different harmonic emphasis patterns
  • Continuous variation: Smooth transitions between harmonic states

Spectral Analysis of PWM

When analyzing PWM with spectrum analyzers, you’ll observe:

  • Moving formants: Peak frequencies that shift with modulation
  • Harmonic sweeping: Individual harmonics rising and falling cyclically
  • Beating effects: When harmonics interact with fundamental frequencies
  • Pseudo-stereo width: Phase relationships creating apparent stereo spread

PWM vs. Other Modulation Techniques

PWM Compared to Amplitude Modulation

While amplitude modulation (AM) changes volume, PWM changes harmonic content. PWM is similar to FM (Frequency Modulation) except instead of frequency being altered, the signal itself is not steady but in the form of pulses where the width is altered.

PWM vs. Filter Modulation

Filter sweeps change existing harmonic content by emphasizing or removing frequencies, while PWM generates new harmonic content through waveform manipulation. Combining both techniques creates exceptionally rich, evolving textures.

PWM vs. Oscillator Detuning

PWM gives a sound effect similar to chorus or slightly detuned oscillators played together, but with important differences:

  • PWM: Single oscillator creating multiple implied pitches
  • Detuning: Multiple oscillators with actual pitch differences
  • CPU efficiency: PWM achieves similar results with fewer resources

Future of PWM in Music Production

Emerging Technologies

Modern developments in PWM include:

  • AI-controlled modulation: Machine learning algorithms generating musical PWM patterns
  • Granular PWM: Applying PWM principles to granular synthesis
  • Wavetable PWM: Using PWM as a wavetable morphing technique
  • Spatial PWM: 3D audio implementations with position-dependent PWM

Integration with Modern Workflows

Contemporary producers integrate PWM through:

  • DAW automation: Detailed PWM parameter automation over song sections
  • MIDI control: Real-time PWM manipulation via controllers and surfaces
  • Template integration: Pre-configured PWM setups in project templates
  • Collaborative tools: Sharing PWM settings through preset libraries and collaboration platforms

Conclusion: Mastering PWM for Musical Expression

Pulse Width Modulation remains one of synthesis’s most powerful and musical techniques. From its industrial origins to its central role in classic analog synthesizers and modern digital implementations, PWM continues to provide producers with rich, expressive sound design possibilities.

PWM instantly breathes life into a static, pure tone, making it indispensable for creating engaging, evolving sounds that capture and hold listener attention. Whether you’re crafting lush string pads, punchy bass lines, or soaring lead sounds, understanding and applying PWM will significantly expand your sonic palette.

The technique’s combination of technical precision and musical expressiveness makes it equally valuable for beginners learning synthesis fundamentals and experienced producers seeking advanced sound design techniques. As synthesizer technology continues evolving, PWM’s core principles remain constant while new implementations offer increasingly creative possibilities.

Modern music production benefits enormously from both classic PWM implementations found in vintage synthesizer emulations and cutting-edge digital interpretations available in contemporary VST plugins. By mastering PWM techniques across both domains, producers can access decades of synthesis evolution while staying current with emerging trends.

Remember that effective PWM use requires both technical knowledge and musical intuition. Experiment with different modulation sources, rates, and depths while listening critically to how each parameter affects the musical result. The most compelling PWM applications often emerge from creative experimentation rather than rigid technical adherence.

 

Share this post