NewsCrawler.org

Windows Loudness Equalization reverse-engineered and ported to PipeWire

The Loudness Equalization window
Windows Loudness Equalization, reverse-engineered and ported to PipeWire - xoxorwr/pw-loudness-eq
Image: github.com

The pw-loudness-eq project ports Windows' Loudness Equalization to PipeWire[1], the audio server on Linux, after reverse engineering[2] the feature from WMALFXGFXDSP.dll. It evens out the volume of each application, so quiet and loud parts play at a similar level.

It has three parts: a loudness module that processes each app's playback stream, a limiter[3] module that runs on every playback device and ports the output limiter of Windows' audio engine (AudioEng.dll), and an optional GTK3 window for turning the feature on or off globally or per app and setting the release time. The project requires PipeWire 1.4 or newer. Settings are stored in a PipeWire metadata object, can be changed with pw-metadata, and apply immediately and persist across restarts.

The loudness module sets a target gain of at most +20 dB and measures power in 25 frequency bands. The boost can push pure tones above full scale, which the limiter catches. JACK clients, streams with more than 8 channels, and Flatpak apps that use PipeWire directly are not processed.

Repository PipeWire github.com

Open source multimedia server for Linux that handles audio and video streams, replacing PulseAudio and JACK for most applications.

Stars: 2,177Forks: 202License: NOASSERTIONUpdated:

Read the original github.comDiscussion

Discussion

Commenters are split. Some find the Windows feature useful for watching videos at night, while others say they never want quiet and loud parts evened out and that a simpler algorithm, such as a compressor, would do. Some also question why the code was copied from a Windows DLL, whether the algorithm is patented, and whether the author should write their own version.

Sources

  • GitHub

    Windows Loudness Equalization, reverse-engineered and ported to PipeWire

    190 comments

  • KRGeekNews KO

    Windows Loudness Equalization을 역공학해 PipeWire로 이식

    1 point1 comment

Published: First seen: Читать по-русски

Open as a page