r128gain


Namer128gain JSON
Version 1.0.7 PyPI version JSON
download
home_pagehttps://github.com/desbma/r128gain
SummaryFast audio loudness scanner & tagger
upload_time2023-03-25 19:41:49
maintainer
docs_urlNone
authordesbma
requires_python
license
keywords audio loudness replaygain replay gain r128 tag opus normalize normalization level
VCS
bugtrack_url
requirements crcmod ffmpeg-python mutagen tqdm
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # r128gain

## Fast audio loudness scanner & tagger

[![PyPI version](https://img.shields.io/pypi/v/r128gain.svg?style=flat)](https://pypi.python.org/pypi/r128gain/)
[![AUR version](https://img.shields.io/aur/version/r128gain.svg?style=flat)](https://aur.archlinux.org/packages/r128gain/)
[![Tests status](https://github.com/desbma/r128gain/actions/workflows/ci.yml/badge.svg)](https://github.com/desbma/r128gain/actions/)
[![Coverage](https://img.shields.io/coveralls/desbma/r128gain/master.svg?style=flat)](https://coveralls.io/github/desbma/r128gain?branch=master)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/r128gain.svg?style=flat)](https://pypi.python.org/pypi/r128gain/)
[![License](https://img.shields.io/github/license/desbma/r128gain.svg?style=flat)](https://github.com/desbma/r128gain/blob/master/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.
r128gain can also be used as a Python module from other Python projects to scan and/or tag audio files.

**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, although it is defined in the [Opus standard](https://tools.ietf.org/html/rfc7845#section-5.2))
- Supports writing gain to the [Opus _output gain_ header](https://tools.ietf.org/html/rfc7845#page-15) (**experimental**)
- Uses threading to optimally use processor cores resulting in very fast processing

## Installation

r128gain requires [Python](https://www.python.org/downloads/) >= 3.6 and [FFmpeg](https://www.ffmpeg.org/download.html) >= 2.8.

### Standalone Windows executable

Windows users can download a [standalone binary](https://github.com/desbma/r128gain/releases/latest) which does not require Python, and bundles FFmpeg.

### Arch Linux

Arch Linux users can install the [r128gain](https://aur.archlinux.org/packages/r128gain/) AUR package.

### From PyPI (with PIP)

Install r128gain using [pip](https://pip.pypa.io/en/stable/installing/): `pip3 install r128gain`

### From source

1. If you don't already have it, [install setuptools](https://pypi.python.org/pypi/setuptools#installation-instructions) 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 a single file and display its loudness information: `r128gain -d an_audio_file.mp3`
- Scan & tag a single file: `r128gain an_audio_file.mp3`
- Scan & tag all audio files in `music_directory` and all its subdirectories: `r128gain -r music_directory`
- Scan & tag all audio files in `music_directory` and all its subdirectories, and add album gain tags (files contained in each directory are considered as part of the same album): `r128gain -r -a music_directory`

## License

[LGPLv2](https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/desbma/r128gain",
    "name": "r128gain",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "audio,loudness,replaygain,replay,gain,r128,tag,opus,normalize,normalization,level",
    "author": "desbma",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f7/fb/afd16c3ce447da630720ca16b4826d419b020d266ac6a758d4e33bfb97b1/r128gain-1.0.7.tar.gz",
    "platform": null,
    "description": "# r128gain\n\n## Fast audio loudness scanner & tagger\n\n[![PyPI version](https://img.shields.io/pypi/v/r128gain.svg?style=flat)](https://pypi.python.org/pypi/r128gain/)\n[![AUR version](https://img.shields.io/aur/version/r128gain.svg?style=flat)](https://aur.archlinux.org/packages/r128gain/)\n[![Tests status](https://github.com/desbma/r128gain/actions/workflows/ci.yml/badge.svg)](https://github.com/desbma/r128gain/actions/)\n[![Coverage](https://img.shields.io/coveralls/desbma/r128gain/master.svg?style=flat)](https://coveralls.io/github/desbma/r128gain?branch=master)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/r128gain.svg?style=flat)](https://pypi.python.org/pypi/r128gain/)\n[![License](https://img.shields.io/github/license/desbma/r128gain.svg?style=flat)](https://github.com/desbma/r128gain/blob/master/LICENSE)\n\nr128gain 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.\nr128gain can also be used as a Python module from other Python projects to scan and/or tag audio files.\n\n**This is beta software, please test and report bugs.**\n\n## Features\n\n- Supports all common audio file formats (MP3, AAC, Vorbis, Opus, FLAC, WavPack...) and tag formats (ID3, Vorbis comments, MP4, APEv2...)\n- Writes tags compatible with music players reading track/album gain metadata\n- Supports new R128_XXX_GAIN tag format for Opus files (very few scanners write this tag, although it is defined in the [Opus standard](https://tools.ietf.org/html/rfc7845#section-5.2))\n- Supports writing gain to the [Opus _output gain_ header](https://tools.ietf.org/html/rfc7845#page-15) (**experimental**)\n- Uses threading to optimally use processor cores resulting in very fast processing\n\n## Installation\n\nr128gain requires [Python](https://www.python.org/downloads/) >= 3.6 and [FFmpeg](https://www.ffmpeg.org/download.html) >= 2.8.\n\n### Standalone Windows executable\n\nWindows users can download a [standalone binary](https://github.com/desbma/r128gain/releases/latest) which does not require Python, and bundles FFmpeg.\n\n### Arch Linux\n\nArch Linux users can install the [r128gain](https://aur.archlinux.org/packages/r128gain/) AUR package.\n\n### From PyPI (with PIP)\n\nInstall r128gain using [pip](https://pip.pypa.io/en/stable/installing/): `pip3 install r128gain`\n\n### From source\n\n1. If you don't already have it, [install setuptools](https://pypi.python.org/pypi/setuptools#installation-instructions) for Python 3\n2. Clone this repository: `git clone https://github.com/desbma/r128gain`\n3. Install r128gain: `python3 setup.py install`\n\n## Command line usage\n\nRun `r128gain -h` to get full command line reference.\n\n### Examples\n\n- Scan a single file and display its loudness information: `r128gain -d an_audio_file.mp3`\n- Scan & tag a single file: `r128gain an_audio_file.mp3`\n- Scan & tag all audio files in `music_directory` and all its subdirectories: `r128gain -r music_directory`\n- Scan & tag all audio files in `music_directory` and all its subdirectories, and add album gain tags (files contained in each directory are considered as part of the same album): `r128gain -r -a music_directory`\n\n## License\n\n[LGPLv2](https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html)\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Fast audio loudness scanner & tagger",
    "version": "1.0.7",
    "split_keywords": [
        "audio",
        "loudness",
        "replaygain",
        "replay",
        "gain",
        "r128",
        "tag",
        "opus",
        "normalize",
        "normalization",
        "level"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7fbafd16c3ce447da630720ca16b4826d419b020d266ac6a758d4e33bfb97b1",
                "md5": "b80c6c5eed753cdaaa695cedae2e15a5",
                "sha256": "ece984b8609258989a9158c7f676e1b69402381f535597bf43397e2bb53651e4"
            },
            "downloads": -1,
            "filename": "r128gain-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "b80c6c5eed753cdaaa695cedae2e15a5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 25990,
            "upload_time": "2023-03-25T19:41:49",
            "upload_time_iso_8601": "2023-03-25T19:41:49.210133Z",
            "url": "https://files.pythonhosted.org/packages/f7/fb/afd16c3ce447da630720ca16b4826d419b020d266ac6a758d4e33bfb97b1/r128gain-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-25 19:41:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "desbma",
    "github_project": "r128gain",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "crcmod",
            "specs": [
                [
                    ">=",
                    "1.7"
                ]
            ]
        },
        {
            "name": "ffmpeg-python",
            "specs": [
                [
                    "~=",
                    "0.2"
                ]
            ]
        },
        {
            "name": "mutagen",
            "specs": [
                [
                    ">=",
                    "1.43"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    ">=",
                    "4.28.1"
                ]
            ]
        }
    ],
    "lcname": "r128gain"
}
        
Elapsed time: 0.04806s