==========
.. 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
Metadata
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyloudness-1.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pyloudness-1.1.2-py2.py3-none-any.whl |
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 |
Security for pyloudness 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.