Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Find out how loud that file is

Project Description

pyLoudness
==========

.. image:: https://badge.fury.io/py/pyloudness.svg
:target: https://badge.fury.io/py/pyloudness


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

Miscellania
~~~~~~~~~~

::

ffmpeg -nostats -i file_location -filter_complex ebur128=peak=true -f null -

Authors
-------

- **Jason Rigden**

License
-------

This project is licensed under the MIT License

Release History

This version
History Node

1.1.2

History Node

1.1.0

History Node

1.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
pyloudness-1.1.2-py2.py3-none-any.whl
(3.7 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Jan 20, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting