Windows Loudness Equalization, reverse-engineered and ported to PipeWire
Windows Loudness Equalization has been reverse-engineered and ported to PipeWire as a native module, bringing cross-application volume normalization to Linux.
read it The repository documentation provides a thorough technical breakdown of the reverse-engineered Windows DSP algorithms and PipeWire integration details.
summary
A developer has reverse-engineered Windows audio engine DLLs to create pw-loudness-eq, a native PipeWire module and DSP plugin that evens out volume across applications. The implementation features a broadband automatic gain control operating across 25 frequency bands and a look-ahead output limiter. It allows runtime configuration and per-app exclusions via pw-metadata. Commenters celebrate it as a major quality-of-life win for Linux, while debating reverse-engineering ethics and audio dynamics.
key points
- Implements a broadband automatic gain control using 25 frequency bands and FFT power spectrum analysis.
- Includes a look-ahead output limiter ported from AudioEng.dll to prevent clipping from volume boosts.
- Exposes configuration parameters via pw-metadata and supports per-app exclusion rules.
- Runs as a stream effect before mixing in PipeWire 1.4+, matching Windows audio architecture.
who should read it
Linux users and audio developers interested in system-wide volume management and low-level PipeWire extensions.
discussion warm
consensus
Most commenters are thrilled to have a native Linux port of Windows Loudness Equalization to fix inconsistent media volumes, though audio purists argue it destroys dynamic range.
pushback
Some question the necessity of reverse-engineering Windows DLLs when existing tools like EasyEffects or standard limiters could achieve similar results.
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 …
It explains how Windows' hidden shared-mode audio limiter subtly compresses peaks by -0.1 dB, providing the exact engineering context for the reverse-engineering effort.
Generated by an LLM from the article and thread. Check the sources before relying on it.