A Class-D amplifier drives a speaker by switching very quickly. Here’s how a pattern of pulses becomes sound.
A musical note rises and falls smoothly. Inside a Class-D amplifier, the output stage jumps between two voltage levels hundreds of thousands of times a second. The trick is to vary how long it stays at each level.
What PWM does
Imagine one switching cycle. The output spends part of that cycle at a high voltage and the rest at a low voltage. If it spends more of the cycle high, the average voltage is higher. If it spends more of the cycle low, the average is lower.
The share of the cycle spent high is called the duty cycle. At 50%, the average sits halfway between the two voltages. At 75%, it sits closer to the high voltage. At 25%, it sits closer to the low voltage.

As the audio signal rises and falls, the high part of each cycle gets wider and narrower to follow it. That’s pulse-width modulation, or PWM.
How the pulses become sound
The input signal sets the timing. The power supply provides the energy that drives the speaker. The output switches use that energy to make a much stronger pulse waveform than the small signal at the input.
In a typical high-power Class-D amplifier, an output filter reduces the very fast switching and lets the slower audio changes through. What reaches the speaker is the amplified audio waveform. The speaker cone moves with that signal and makes sound.
How a linear amplifier does it
A linear amplifier, such as a Class-AB design, uses its output transistors to make the voltage at the speaker follow the input signal smoothly. The transistors can conduct while they still have a voltage across them. Some of the power from the supply turns into heat in those transistors.
In a Class-D output stage, the transistors spend most of their time either fully on or fully off. A fully on switch has a small voltage drop. A fully off switch carries very little current. Both states waste relatively little power. Some energy is still lost during switching and while current flows through the circuit.
What makes a transistor a good switch?
The switches connect the output to one supply voltage or the other to make the pulses. A transistor can do this very quickly in response to a small electrical control signal. A good transistor switch carries current with little resistance when it’s on, holds back the supply voltage when it’s off, and changes between the two states quickly.
Silicon MOSFETs are a common choice because they can carry substantial current with low resistance. A GaN FET is a transistor made from gallium nitride. Many GaN FETs need less electrical charge to turn on and off than comparable silicon devices, which helps them switch quickly and can reduce switching losses.
Why the difference matters
Both designs can reproduce audio accurately. Class D can generally deliver the same power to a speaker with less heat to remove. In a multichannel amplifier, that matters because several speakers may be drawing power at once, and the heat from each channel adds up.
Why the switches need a pause
Even fast switches take a little time to turn off. If both switches conduct at once, they momentarily short the power supply. The amplifier leaves a tiny pause between turning one off and turning the other on.
That pause is called dead time. A few nanoseconds can affect sound accuracy and how much heat the amplifier produces. The dead-time trade-off explains why.
