Quick Answer: PipeWire loudness equalization is a port of Windows' Loudness Equalization feature. It runs a broadband automatic gain control on each app's playback stream, so quiet and loud passages play at a similar level. The open-source pw-loudness-eq project provides it, plus a limiter that stops the boost from clipping. It needs PipeWire 1.4 or newer.
Anyone who has watched a film on Linux and then reached for the volume key during the next ad knows the problem. Dialogue sits low, explosions blast, and the gap between them never closes. Windows has shipped a fix for years, and a reverse-engineering project now brings it to PipeWire. Here's what it actually does, where it's useful, and where it breaks.
What the "Equalization" Name Gets Wrong
Most people hear "loudness equalization" and picture a graphic equalizer with sliders for bass and treble. That's the wrong mental model. The project's README says it plainly: this is "a broadband automatic gain control. Despite the name, it doesn't equalize the spectrum."
That distinction changes how you should use it. A graphic EQ shapes tone. An AGC only changes overall level over time. It won't make your speakers sound warmer, but it will stop a quiet podcast from forcing you to crank the volume for the next loud clip.
The common advice is to leave loudness features off because they "mess with the sound." For a tone-shaping EQ, that's fair. For a gain control that moves slowly, it's incomplete. The gain changes gradually, so it's far less intrusive than the name suggests.
How the Gain Control Decides What's Too Loud
The algorithm works in frames. At 48 kHz the frame size is 512 samples, with 50% overlap. Each frame goes through a real FFT, and the power is summed into 25 bands spanning roughly 100 Hz to 24 kHz. The bands are then combined into a single loudness figure, and the target gain is derived from that figure.
The target is capped at +20 dB, so the system can lift quiet material substantially but can't blow up near-silence into noise. That cap matters. Without it, a near-silent room tone would get pushed up to audible hiss.
Speed is asymmetric, and this is where most people get surprised. When the target drops below the current gain, the gain drops instantly. When the target rises, the gain climbs slowly. At the default release setting of 4, the time constant is about 4.6 seconds. Here's what that means in practice: a sudden explosion gets pulled down immediately, but a quiet scene that follows takes several seconds to come up to a comfortable level.
Here's the catch. Fast attack and slow release is the right design for leveling, but it means the system is always a few seconds behind a dynamic change. If you're listening to music with a sudden quiet bridge, you'll hear the volume dip and recover. That's the AGC working, not a bug.
Why the Limiter Runs Even When Equalization Is Off
The project actually ships two modules, and they do different jobs. The loudness module is optional and processes each app's stream. The limiter is different. It's a port of CAudioLimiter from AudioEng.dll, and according to the README it sits on every playback device, always on, independent of Loudness Equalization.
The reason is straightforward. Boosting quiet audio pushes peaks past full scale. A pure tone such as a whistle can get well above 0 dBFS after the boost, and the limiter catches it before it clips.
The limiter uses look-ahead. It delays the output by 64 frames at 44.1 or 48 kHz, which works out to roughly 1.3 to 1.5 ms of added latency. During that window it sees a peak coming and ramps the gain down in advance. Peaks arrive at a predictable rate, so the look-ahead lets the limiter act smoothly where a hard clipper would distort.
Most people turn a limiter off because it "changes the sound." Keep it on. Clipping is audible and nasty, and a transparent limiter is far less destructive than a clipped waveform.
Installing and Turning It On
The build needs PipeWire 1.4 or newer, plus GTK 3 if you want the settings window. Here's the sequence the README specifies:
- Install the development packages. On Arch that's
pipewire,gtk3,pkgconf,make, andgcc. On Debian, you needlibpipewire-0.3-dev,libspa-0.2-dev,libgtk-3-dev, andpkg-config. - Run
make, thensudo make install. - Restart the audio services with
systemctl --user restart pipewire pipewire-pulse wireplumber. - Open Loudness Equalization from your application menu, or run
pw-loudness-eqfrom a terminal.
If you only want one component, the project supports make -C modules/loudness, make -C modules/limiter, or make -C app. Uninstalling is sudo make uninstall followed by the same service restart.
Tuning Release Time and Per-App Exclusions
The release setting is the one knob most people will care about. It runs from 2 (fast) to 7 (slow), and 4 matches the Windows default. Faster release means the system reacts sooner to quiet passages but can pump audibly on music. Slower release sounds more natural on music but lags behind speech changes.
Settings live in a PipeWire metadata object, so you can script them. These are the commands from the project's documentation:
pw-metadata -n loudness-eq 0 enabled falseturns it off.pw-metadata -n loudness-eq 0 release 6sets a slower release.pw-metadata -n loudness-eq 0 disabled-apps '["Discord"]' Spa:String:JSONexcludes an app.pw-metadata -n loudness-eqshows current settings.
Changes apply immediately and survive restarts. Runtime changes are saved to ~/.local/state/pw-loudness-eq/state.conf, which takes precedence over the system defaults. To set exclusions permanently, copy the default config into ~/.config/pipewire/pipewire.conf.d/ and add a stream.rules entry.
Here's where people get tripped up: the disabled-apps list matches on application name. If a client reports a different name than you expect, the exclusion silently does nothing. Check the name your app actually reports before assuming the rule is broken.
Where the Design Has Real Limits
The module processes each app's playback stream before that app's volume and before mixing. That placement is the right one for leveling, but it leaves out several categories by design. JACK clients aren't processed. Streams with more than 8 channels are skipped. Flatpak apps that use PipeWire directly bypass it, though those going through PulseAudio are handled.
If you run a lot of Flatpak apps, that exclusion is the one most likely to surprise you. A video call in a Flatpak browser may stay unleveled while a native app next to it gets processed. The fix isn't in this project. It depends on how the sandbox exposes the audio stream.
Volume handling also differs from Windows. On Windows, the device's software volume comes before the limiter. In PipeWire, it comes after the device's filter graphs. The project compensates by tracking per-channel volume and measuring peaks as they'll be after volume. The author says the result matches Windows once PipeWire applies the volume. Treat that as a claim you can verify on your own material rather than something to assume.
| Component | Where it runs | Latency at 48 kHz | Can you disable it? |
|---|---|---|---|
| Loudness Equalization module | Each app's playback stream, before app volume and mixing | 512 samples, about 10.7 ms | Yes, globally or per app |
| Output limiter | Every playback device, after mix and software volume | 64 frames, about 1.3 ms | No, always on by design |
| Hardware volume | After the limiter | Not covered by the project | Not applicable |
Latency is small for listening, but it matters if you're mixing live or monitoring with a DAW. Disable the loudness module for those sessions, and expect the limiter to stay in the chain.
Frequently Asked Questions
what is pipewire loudness equalization?
PipeWire loudness equalization is a port of Windows' Loudness Equalization feature to the Linux audio server. It runs an automatic gain control on each app's playback stream, lifting quiet passages and pulling down loud ones. Despite the name, it doesn't change tone. The open-source pw-loudness-eq project provides it, along with an always-on limiter to prevent clipping.
how do I turn off loudness equalization for one app?
Add the app to the disabled-apps list with pw-metadata -n loudness-eq 0 disabled-apps '["AppName"]' Spa:String:JSON, or add a stream.rules entry in your PipeWire config. Use the application name the app actually reports, because a mismatch silently fails.
why doesn't the limiter turn off when I disable loudness equalization?
The limiter protects the output from clipping. Boosted audio can exceed full scale, and the limiter's look-ahead ramps the gain down before peaks arrive. The project runs it on every playback device, as Windows' audio engine does, so it stays on regardless of the equalization setting.
does loudness equalization add latency?
Yes, but it's small. The loudness module adds one frame of latency, which is 512 samples or about 10.7 ms at 48 kHz. The limiter adds about 1.3 ms. That's fine for video and music playback, but you should disable the loudness module for live monitoring.
what release setting should I use?
Start with the default of 4, which matches Windows. Use a faster value (2 or 3) if speech sits too low in ordinary content, and a slower value (5 to 7) if music sounds like it's pumping. Test with material you actually listen to, because the right setting depends on your content.
Give It One Real Test This Week
Pick a film with a big gap between dialogue and action, play it with PipeWire loudness equalization on, and then again with it off. Note which version you'd rather leave running and why. Then pass the pw-loudness-eq repository to someone who keeps reaching for the volume key during quiet scenes.