Skip to main content

Fast audio loudness scanner & tagger

Project description

Fast audio loudness scanner & tagger

Latest version Tests status Coverage Supported Python versions License

r128gain is a multi platform command line tool to scan your audio files and tag them with loudness metadata (ReplayGain v2 or Opus R128 gain format), to allow playback of several tracks or albums at a similar loudness level.

This is beta software, please test and report bugs.

Features

  • Supports all common audio file formats (MP3, AAC, Vorbis, Opus, FLAC, WavPack…) and tag formats (ID3, Vorbis comments, MP4, APEv2…)

  • Writes tags compatible with music players reading track/album gain metadata

  • Supports new R128_XXX_GAIN tag format for Opus files (very few scanners write this tag, athough it is defined in the Opus standard)

  • Uses threading to optimally use processor cores resulting in very fast processing

Installation

r128gain requires Python >= 3.4 and FFmpeg >= 2.8.

From PyPI (with PIP)

Install r128gain using pip: pip3 install r128gain

From source

  1. If you don’t already have it, install setuptools for Python 3

  2. Clone this repository: git clone https://github.com/desbma/r128gain

  3. Install r128gain: python3 setup.py install

Command line usage

Run r128gain -h to get full command line reference.

Examples

  • Scan all MP3 files in music_directory: r128gain music_directory/*

License

LGPLv2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

r128gain-0.4.0.tar.gz (18.0 kB view details)

Uploaded Source

File details

Details for the file r128gain-0.4.0.tar.gz.

File metadata

  • Download URL: r128gain-0.4.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for r128gain-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ca941dcc65b5f98a57b076a18c1d28ff5c85c90e4cc40bfee21c9d260e57d18a
MD5 63a5002b238475394ad8edfc343793b9
BLAKE2b-256 cc7e369071661d00544540683aceaeaa7a92f8f0d3c09c8411f8b9872261e33e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page