The short answer
A compressor makes the loud and quiet parts of a signal more alike: it turns down whatever crosses a threshold, so the distance between your loudest and softest moments shrinks. An expander does the opposite. It pushes that distance wider, making quiet parts quieter or loud parts louder, so the gap between them grows. Engineers call that gap the dynamic range, and an expander expands it.
There are two flavors, and they act on opposite ends of the signal. A downward expander works below a threshold: it turns quiet sounds down. An upward expander works above a threshold: it turns loud sounds up. Same idea, opposite direction. Because both borrow the same threshold, ratio, attack, and release controls you already know from a compressor, there is nothing new to learn beyond which way they aim.
Downward expansion: a gate that knows when to stop
The downward expander is the one you will reach for most, and the easiest way to understand it is to stand it next to a noise gate. A gate is a bouncer: the signal is either loud enough to pass or it is cut to silence, with nothing in between. That hard, all-or-nothing decision is what can make a gate sound unnatural. It slams the room tone shut the instant you stop talking, and if your voice hovers right at the threshold it can chatter open and closed.
A downward expander is gentler. Below the threshold it still turns the signal down, but by a ratio instead of all the way to nothing. At 2:1, a sound sitting 10 dB below the threshold comes out 20 dB below it: quieter, but still there. And it leans on one control a gate mostly ignores: a Range that caps how far down it is allowed to push. Set the Range to 12 dB and the quietest bleed drops by 12 dB and no further, so the natural room tone under your voice thins out instead of vanishing.
That is the whole trick. Quiet background gets pushed down a controlled amount, loud speech passes untouched, and nothing ever snaps to dead silence. In fact a gate is just a downward expander taken to its extreme: crank the ratio toward infinity and remove the Range cap, and below the threshold stops meaning quieter and starts meaning gone.
When a downward expander beats a gate
Reach for a downward expander when the goal is a cleaner background, not a silent one. On a voice track, a gate that cuts to silence between sentences can sound stark, because a real room is never truly silent. Your ear notices the moment the room tone disappears and then reappears with the next word. A downward expander lowers that room tone by a few dB and leaves it there, so the background is quieter but still continuous and natural.
It is also more forgiving to set. Because it never fully closes, it does not chatter, and a threshold set a touch too high just means slightly less reduction rather than the front of a word getting chopped off. For gentle, always-on cleanup of hiss, fan noise, and mic bleed, a downward expander is often the better tool, and it is worth weighing against noise suppression for the same job. When you genuinely need the background gone (a hard gate on a noisy game capture, say) the gate is still the right call. The point is to match the tool to how aggressive you actually need to be.
Upward expansion: lifting the peaks
The upward expander flips the direction. Instead of working on the quiet parts below the threshold, it works on the loud parts above it, and instead of turning them down, it turns them up. Set the threshold up near your peaks so only the loudest moments cross it, and every sound above the line gets boosted by the ratio: at 2:1, a peak 3 dB over the threshold comes out 6 dB over. The effect is added punch, a sense of the loud moments jumping out a little more.
Two cautions come with it. First, keep the threshold high. Set it low and almost everything crosses it, so the whole signal jumps in level, which is not what you want. Second, boosting peaks means pushing them closer to the ceiling, so an upward expander is a good reason to put a limiter after it: let the expander add the punch, and let the limiter guarantee nothing clips. Its Range control caps the maximum boost for the same reason, so a single loud burst cannot suddenly leap 20 dB.
The math, one formula for both
Both directions fall out of a single expression. Take the difference between the input level and the threshold, multiply by one less than the ratio, and that is the gain the expander applies, clamped so it never exceeds the Range you set.
gain_dB = (R - 1) * (in_dB - threshold_dB), clamped to +-RangeAt a 2:1 ratio, a signal 10 dB below the threshold gets (2-1) times -10, so 10 dB of attenuation: the quiet gets quieter. Run the same formula above the threshold on an upward expander and it becomes a boost instead. Push the ratio toward infinity and a downward expander stops being gentle and turns into a gate.
For a downward expander the input sits below the threshold, so in minus threshold is negative and the gain comes out as a cut. For an upward expander it sits above, so the same product is positive and the gain comes out as a boost. The Range clamp is what keeps either one musical: it is the whole difference between turning the background down and erasing it, and between adding punch and letting a peak run away.
Expanders in patchd
In patchd both expanders are free nodes, part of the same dynamics set as the gate, compressor, and limiter that every channel gets. They live as two separate entries in the + Add Node menu:
- Downward Expander. Threshold (default -45 dB), Ratio (default 2:1), Attack, Release, a Range (default 24 dB, the most it will turn quiet sounds down), and a Knee (default 6 dB, how gently the reduction eases in around the threshold). This is the one to reach for as a natural alternative to the gate.
- Upward Expander. The same six controls, but born ready to lift peaks: the Threshold defaults high at -10 dB and the Range defaults to a modest 12 dB of maximum boost, so a fresh node adds punch to the loud moments without jumping the whole signal. Add a limiter after it.
Both use the threshold, ratio, attack, and release you already know from the compressor, so the only genuinely new control is the Range. Like the rest of the dynamics nodes they run in real time with no added lookahead delay, so they are safe to leave in a path you are monitoring live. Neither expander has a sidechain filter on its detector or an external key input: each reacts to its own channel's level. If you want to stop low rumble from triggering reduction, that kind of sidechain filtering lives on the compressor and the gate.
patchd is a pre-launch Windows audio mixer, and every dynamics node described here, both expanders included, is free on every channel. The two tiers are Free and Studio ($39.99 per year), and the real-time engine is identical on both. If you want a mixer that lets you clean up a background gently instead of gating it shut, join the waitlist and we will tell you the moment it is ready to install.