Skip to main content

Python library for Audio Loudness measurements

Project description

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

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.

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

lupy-0.0.1.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lupy-0.0.1-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file lupy-0.0.1.tar.gz.

File metadata

  • Download URL: lupy-0.0.1.tar.gz
  • Upload date:
  • Size: 29.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lupy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2b35fa74483a304952bee53278c86d7ef71174c61d1620e626b3e6875bc7794b
MD5 ab8ee08b728fa3c96712241c1eca0c87
BLAKE2b-256 85fdc031d69f788a9d87a8fc273e74247f3e18267dbe82cc866e087a8033228b

See more details on using hashes here.

Provenance

The following attestation bundles were made for lupy-0.0.1.tar.gz:

Publisher: dist-test.yml on nocarryr/lupy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lupy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: lupy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lupy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4135a183a07caa4368b1d8e6b05b3a34120cb9b7c006ae7f5ede3377e8aa1697
MD5 e952def77925b3811c4cfa85b16f0f6a
BLAKE2b-256 95e190bce8d055d67e252b27b88f70d43810da5778d029c17e6df3888e5b7aa7

See more details on using hashes here.

Provenance

The following attestation bundles were made for lupy-0.0.1-py3-none-any.whl:

Publisher: dist-test.yml on nocarryr/lupy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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