If you've searched "loudness equalization linux" in the past five years, you got the usual answer: install EasyEffects, import someone's preset, and accept that it sounds sort of like Windows. One HN commenter summed up that experience: "I have tried a bunch of those EasyEffects pressets and none are even close to what windows does".
This week someone stopped approximating. pw-loudness-eq is Windows' Loudness Equalization "reverse engineered from WMALFXGFXDSP.dll" and rebuilt as a PipeWire module. It went to the front page of Hacker News with 337 points and 186 comments, and the biggest thread in there is people arguing over whether anyone should want this at all.
I think you should, at least on laptop speakers and for anything with voices in it. Below I go through what the algorithm does, how to install it on Arch, Fedora and Ubuntu, why there's no "default sink" step, and how it compares to EasyEffects' autogain.
What Windows loudness equalization actually does
The README is refreshingly blunt: it's "a broadband automatic gain control. Despite the name, it doesn't equalize the spectrum." So the HN commenters complaining about the name have a point. What you get is a volume rider.
The interesting part is how it measures loudness. Per the README:
- Frames of
N = 2^⌈log2(fs/100)⌉samples, which is 512 at 44.1/48 kHz, with 50% overlap. - A real FFT, then 25 bands from 100 Hz to 24000 Hz, each with its own threshold. The thresholds are 1000 at both ends and drop to 1 or less in the middle, so very low and very high frequencies barely count.
- Loudness
L = 1.72 · Σ max(E_b − T_b, 1e-32)^0.25, and target gainmin((1300/L)^1.6, 10), which caps the boost at +20 dB. - Attack is instant: if the signal gets louder, gain drops immediately. Release is slow, about a 4.6 s time constant at the default setting.
That asymmetry explains why the Windows version feels the way it does. A sudden explosion gets clamped right away, while quiet dialogue gets lifted gradually over a few seconds, so you don't hear the volume pumping.
People tend to forget the second piece: Windows also runs an output limiter, CAudioLimiter from AudioEng.dll, on every render device. The repo ports that too. It uses 64 frames of lookahead at 44.1/48 kHz and a 0.985 ceiling, then recovers at "about 19 dB/s". You need the limiter, since the README admits the boost "can push pure tones such as a whistle well above full scale".
Why this beats an EasyEffects preset
Most of the difference comes from where the processing happens. The DSP math matters less.
EasyEffects runs its effects on its own virtual devices, so everything you play goes through one chain. pw-loudness-eq "sets audioconvert.filter-graph.90 on each app's playback stream, so the plugin runs inside that stream, before its volume and before mixing, like a Windows stream effect."
So it works per app. Your quiet podcast and your loud game each get evened out separately before they're mixed. With a single autogain on the master bus, the game's gunfire pulls the podcast down along with it. One HN commenter called per-app exclusion "the killer feature", and I agree.
Install: Arch, Fedora, Ubuntu
You need PipeWire ≥ 1.4, plus GTK 3 if you want the toggle window. Check your version first:
pipewire --version
That version check rules out a lot of people. Ubuntu 24.04 LTS ships PipeWire 1.0.5, which is too old. Ubuntu 25.10 has 1.4.7 and 26.04 has 1.6.2. On Fedora, 43 is on 1.4.11 and 44 on 1.6.11. Arch is current, as usual.
There are no releases and no COPR or PPA. Arch users can grab the unofficial pw-loudness-eq-git from the AUR, which someone put up the day it hit HN. Everyone else builds from source.
On Arch (from the README):
sudo pacman -S pipewire gtk3 pkgconf make gcc
On Debian / Ubuntu 25.10+ (the README labels this line Debian, but the same package names work on Ubuntu):
sudo apt install libpipewire-0.3-dev libspa-0.2-dev libgtk-3-dev pkg-config make gcc
On Fedora 43+ you're on your own, because the README doesn't list Fedora. This is my translation. Fedora's pipewire-devel provides both libpipewire-0.3 and libspa-0.2:
sudo dnf install pipewire-devel gtk3-devel pkgconf make gcc
Then, on any distro:
git clone https://github.com/xoxorwr/pw-loudness-eq
cd pw-loudness-eq
make
sudo make install
systemctl --user restart pipewire pipewire-pulse wireplumber
To uninstall, run sudo make uninstall and restart the same three services. To build only one part, the README gives make -C modules/loudness, make -C modules/limiter or make -C app.
Making it the default sink (you don't)
The usual Linux recipe ends with "now set the virtual sink as default." This one has no virtual sink. It attaches to every app's playback stream automatically as soon as PipeWire restarts.
If you're coming from EasyEffects and routed everything through its virtual output, set your real hardware back as the default. EasyEffects' own README says "Do NOT set Easy Effects virtual devices as your default audio input/output" anyway:
wpctl status # find your hardware sink's ID
wpctl set-default <ID>
Also turn off EasyEffects' autogain, or you'll have two gain riders fighting each other.
Controlling it
Launch "Loudness Equalization" from your app menu or run pw-loudness-eq for the GTK window. Or skip the window and script it:
pw-metadata -n loudness-eq 0 enabled false # turn off
pw-metadata -n loudness-eq 0 release 6 # release time, 2 (fast) to 7 (slow)
pw-metadata -n loudness-eq 0 disabled-apps '["Discord"]' Spa:String:JSON # leave these apps alone
pw-metadata -n loudness-eq # show settings
Changes apply immediately and survive restarts (they're stored in ~/.local/state/pw-loudness-eq/state.conf). The defaults live in /usr/share/pipewire/pipewire.conf.d/60-loudness-eq.conf. Copy that file to ~/.config/pipewire/pipewire.conf.d/ to override them, including stream.rules matches on application.name.
My suggestion: exclude your music player. Loudness EQ is great for YouTube, podcasts, Discord and movies with whisper dialogue, and pointless for a well-mastered album you're actually listening to.
pw-loudness-eq vs EasyEffects autogain
Everything here comes from the two projects' docs (pw-loudness-eq README, EasyEffects autogain, EasyEffects defaults). I haven't run any benchmarks.
| pw-loudness-eq | EasyEffects Autogain | |
|---|---|---|
| Loudness model | Windows' 25-band weighted spectrum | EBU R 128 via libebur128 |
| Target | Fixed (1300 internal), max +20 dB boost | User-set, default -23
|
| Reacting to loud audio | Instant gain drop | Depends on reference: momentary (400 ms), short-term (3 s), integrated, or a geometric mean (default) |
| Release | 2–7, default 4 (~4.6 s) |
maximumHistory default 15 |
| Where it runs | Inside each app's stream, before mixing | EasyEffects' effect chain |
| Per-app exclusion |
disabled-apps, stream.rules
|
Excluded-apps list, but included apps still share one chain |
| Output limiter | Always on, Windows CAudioLimiter port |
Add one yourself |
| Latency | N samples (512 at 48 kHz) + 64-frame limiter | Depends on your chain |
| Skips | JACK, >8 channels, Flatpak apps using PipeWire directly | n/a |
EasyEffects is the more flexible tool, and if you already have a compressor and limiter chain you like, keep it. But if what you wanted was "make it behave like Windows", tweaking an R 128 target won't get you there, because the measurement model and the per-stream placement are different.
Before you install: no license, six commits, and a provenance fight
Some of this would bother me before I put it on a work machine:
- There's no license. The repo doesn't have a LICENSE file. Legally that means all rights reserved, and no distro's official repos will ship it in that state.
- The provenance is disputed. On HN, vrganj claimed it's "a Claude RA of proprietary code" and said "no serious project is going to upstream code" like that. Elsewhere in the thread, others argued the legal point the other way (adrian_b: "Algorithms cannot be copyrighted, only specific programs that implement an algorithm"). The README doesn't say how the reverse engineering was done.
- It's six commits old, all from November 22, 2026, with one open issue (Nix support).
- The limiter is always on, "as on Windows." ephaeton, who does audio engineering on Linux, asked: "can we not have the output limiter always active please?" If that's you, the separate
make -Ctargets are where to start.
Still, every earlier answer I'd seen to the "loudness equalization on Linux" question was an EasyEffects preset imitating Windows. This is the first one that uses Windows' own math.
So, I'm curious: is loudness equalization the last Windows feature you were missing, or is there another one keeping you from going Linux full-time? And if you think compressing dynamic range is a crime, tell me so in the comments.
Top comments (0)