# Windows' Loudness Equalization reverse-engineered and ported to PipeWire

Original title: Windows Loudness Equalization, reverse-engineered and ported to PipeWire

> Hacker News story 50641171 · language: en · submitted 2026-11-25
> Web version: https://zeli.app/story/50641171
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 296 · by [ThrowNotAway](<https://news.ycombinator.com/user?id=ThrowNotAway>) · 💬 166
[original](<https://github.com/xoxorwr/pw-loudness-eq>) · [HN discussion](<https://news.ycombinator.com/item?id=50641171>)

## Summary

A developer has reverse-engineered Windows' Loudness Equalization from WMALFXGFXDSP.dll and rebuilt it as a PipeWire module, evening out each app's playback so quiet and loud parts sit at similar levels. The package includes a look-ahead limiter ported from AudioEng.dll's CAudioLimiter to prevent clipping, plus an optional GTK3 window and scriptable pw-metadata settings. It requires PipeWire 1.4 or newer.

## Key quote

> Despite the name, it doesn't equalize the spectrum.

## HN discussion (166 comments)

### [vt240](<https://news.ycombinator.com/item?id=50644977>)

> I always preferred the tune-able algorithm implemented in Media Player Classic/MPC-HC for movies on Windows.  Same with the ease of adjusting the audio switcher for downmixing and a lot of other features.  The Windows built-in one is pretty good though for general use.  On my Lenovo it is disabled in favor of some Dolby version which is significantly inferior.

### [dintech](<https://news.ycombinator.com/item?id=50643693>)

> Interesting for audio nerds: Windows actually has an audio limiter. If you playback audio via loopback shared WASAPI, DirectSound or MME it actually gets compressed very slightly as it nears the peaks. The same does not happen via WASAPI exlcusive or ASIO.
>
> Playing loudly mastered audio out of your PC will be very slightly different from the true audio source by about -0.1dbps with the compressor affecting the peaks.
>
> It works via audiodg.exe (CAudioLimiter in AudioEng.dlll) on the shared-mode render path after all the streams get mixed, even if there's just one playing currently. This is necessary because two loud signals being mixed together might clip your DAC and that sounds nasty, so it's understandable that it's there.
>
> Why would you care though? I was building a audio metering system to monitor audio via loopback and the properties of the audio I played in were being modified by the limiter in these normal modes. Maybe audio purists might not enjoy it either.

### [ZoomZoomZoom](<https://news.ycombinator.com/item?id=50642166>)

> Please, don't confuse the things even more than required and don't use "Equalization" unless you manipulate gain in a frequency-dependent manner.
>
> This is loudness normalization.
>
> Also, from what I can see from the description, the described algorithm would be susceptible to increasing gain of focused impulses, such as whistle or other pure tones. This is why it requires additional limiting at the end.
>
> Do people consider Windows loudness treatment desired, so it requires a reimplementation?

### [gbraad](<https://news.ycombinator.com/item?id=50643103>)

> I don't get why this needed to do reverse engineered from a windows dll. This is not magic, ...
>
> Note: seems many share the same opinion. This is quite simple to implement and wonder why this approach was taken; it can get unethical soon.

### [pocketman](<https://news.ycombinator.com/item?id=50641971>)

> No need to steal this, I would guess that a “limiter” is what is wanted here, and there are plenty of algorithms available. It won’t take away from the dynamics of the audio either, it will merely cap the loudest parts so that one isn’t exceedingly loud while the next is normal.

### [getfacl](<https://news.ycombinator.com/item?id=50641408>)

> \> quiet and loud parts play at a similar level
>
> This is never what I want. A composition has a dynamic range for a reason.

### [jareklupinski](<https://news.ycombinator.com/item?id=50642521>)

> Windows Loudness Equalization was the only way i could actually enjoy early 2010's youtube memes
>
> youtube seems to have added it to some videos, but humor has moved on it seems?

### [skeledrew](<https://news.ycombinator.com/item?id=50641597>)

> Been wanting something like this for a while now and never got around to looking. Although this probably still isn't quite there as I want something that works within app. Ain't nothing like watching something and having to turn the volume way up because of seriously low whispering, then having to turn it way down again because of a sudden loud scene.

---

## Cite

- Page: https://zeli.app/story/50641171
- Date: 2026-11-25
- Source: github.com (https://github.com/xoxorwr/pw-loudness-eq)
- Hacker News: https://news.ycombinator.com/item?id=50641171

## Other languages

- zh: https://zeli.app/zh/story/50641171 · markdown: https://zeli.app/zh/story/50641171.md
- ja: https://zeli.app/ja/story/50641171 · markdown: https://zeli.app/ja/story/50641171.md
- ko: https://zeli.app/ko/story/50641171 · markdown: https://zeli.app/ko/story/50641171.md
- de: https://zeli.app/de/story/50641171 · markdown: https://zeli.app/de/story/50641171.md
- es: https://zeli.app/es/story/50641171 · markdown: https://zeli.app/es/story/50641171.md
- ru: https://zeli.app/ru/story/50641171 · markdown: https://zeli.app/ru/story/50641171.md
