Skip to content
nocarryrPublic

About

Python library for Audio Loudness measurements

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

lupy

uv GitHub Actions Workflow Status CodSpeed Badge PyPI version PyPI license PyPI Python versions PyPI download week

Python library for Audio Loudness measurements. Yet another implementation of ITU-R BS.1770, ITU-R BS.1771, EBU Tech 3341 and EBU Tech 3342.

Purpose

This library provides a way to measure audio loudness and true peak measurements validated against the official EBU compliance test materials.

Its design focuses more on real-time processing, using a block-based approach suitable for audio engines, rather than offline processing of entire audio files.

Features

  • Historical tracking of all measurements over time
  • Multi-channel audio support
  • Compliance-based validation of measurements

Measurement Types

  • Integrated Loudness
  • Short-Term Loudness
  • Momentary Loudness
  • Loudness Range (LRA)
  • True Peak

Compliance

This library is validated against comprehensive compliance test cases based on the official EBU and ITU-R documents:

EBU Tech 3341
Integrated, Momentary, Short-Term and True Peak measurements
EBU Tech 3342
Loudness Range (LRA) measurements
ITU-R BS.2217
Integrated Loudness measurements for various channel configurations

Installation

Pip

$ pip install lupy

Dependencies

  • numpy
  • scipy

Project Links

Homepage
https://github.com/nocarryr/lupy
PyPI
https://pypi.org/project/lupy/
Documentation
https://lupy-nocarryr.readthedocs.io/

License

This project is licensed under the MIT License - see the LICENSE file for details.

Portions of the code (src/lupy/signalutils) are derived from the Scipy library, which is licensed under the BSD License. See the LICENSE-SCIPY file for details.

About

Python library for Audio Loudness measurements

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages