libreplaygain
« Back to VersTracker
Description:
Library to implement ReplayGain standard for audio
Type: Formula  |  Latest Version: r475@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: audio replaygain library normalization c
Install: brew install libreplaygain
About:
Libreplaygain is a C library that provides an implementation of the ReplayGain standard for analyzing and applying volume normalization to audio files. It allows developers to calculate track and album gain values to achieve consistent playback volume across different audio tracks. The library is designed to be lightweight and easily integrated into audio processing applications.
Key Features:
  • Calculates ReplayGain track and album gain/peak values
  • Lightweight C library for easy integration
  • Supports standard ReplayGain algorithm
  • Decoupled from specific audio codecs
Use Cases:
  • Adding ReplayGain support to custom audio players or converters
  • Batch processing audio files to calculate normalization values
  • Implementing volume normalization in audio applications
Alternatives:
  • mp3gain – Applies gain losslessly to MP3 files directly, whereas Libreplaygain is a library for calculation.
  • ffmpeg (ebur128 filter) – Provides loudness normalization using the EBU R128 standard, which is a different approach than ReplayGain.
Version History
Detected Version Rev Change Commit