Skip to main content
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 files for pyloudness 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyloudness 1.1.2
File Interpreter ABI Platform
pyloudness-1.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / pyloudness-1.1.2-py2.py3-none-any.whl

Download URL pyloudness-1.1.2-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b2c574de40961db462519ab88af2fe7dbae2b3f6d6f656f95fe6ba209ceb8c9d
BLAKE2b-256 checksum
How to use checksums
022f3f2b3e3bc0c0ef282b1d19f7bc39a9fc8e10740c72608584968a1ce44a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 release file

1.1.0

2 release files

1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page