Skip to main content

Find out how loud that file is

Project description

How loud is that file? Sounds simple, right? Check out http://www.r128audio.com for information about loudness standards.

Usage

Give pyLoudness an audio file and it will give you a dictionary.

import pyloudness
loudness_stats = pyloudness.get_loudness("test.wav")

Result:

{
    'True Peak': {
        'Peak': 0.4
    },
    'Loudness Range': {
        'LRA': 8.4,
        'Threshold': -39.8,
        'LRA High': -16.9,
        'LRA Low': -25.3
    },
    'Integrated Loudness': {
        'I': -19.2,
        'Threshold': -29.8
    }
}

Prerequisities

pyLoudness requires ffmpeg

sudo apt-get install ffmpeg

Installing

pip install pyloudness

Authors

  • Jason Rigden

License

This project is licensed under the MIT License

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

pyloudness-1.1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

pyloudness-1.1.0-py2.py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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