This project recreates Windows’ Loudness Equalization for PipeWire by reverse-engineering Windows audio components and porting their behavior. Its main feature applies broadband automatic gain control separately to each application’s playback stream, raising quiet passages and reducing the difference between quiet and loud parts. Despite its name, it does not balance frequency bands. The implementation analyzes audio across 25 frequency ranges and adjusts gain, with a maximum boost of 20 dB. Users can enable or disable processing globally or for individual applications, and set how quickly gain recovers; the default release setting matches Windows’ default. Settings take effect immediately and persist across restarts, and can also be controlled by scripts or configuration files.
A separate output limiter helps prevent clipping caused by the boost. It operates after the playback streams are mixed, using a short look-ahead delay to reduce peaks and recover gain gradually. The project aims to reproduce Windows’ processing order and behavior, including how stream and device volumes affect the limiter. Installation requires PipeWire 1.4 or later; an optional GTK 3 window provides controls. There are some coverage limits: JACK clients, streams with more than eight channels, and Flatpak applications that connect directly to PipeWire are not processed, though Flatpak apps routed through PulseAudio are. The repository also includes DSP tests and a tool for processing audio files offline.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.