pyloudnorm
Implementation of ITU-R BS.1770-4 loudness algorithm in Python.
Decision gist · record as of 2026-08-14
Yes. The package solves a specific, well-defined problem (ITU-R BS.1770-4 loudness measurement) with low install friction, permissive licensing, and active maintenance. It is suitable for audio production, streaming, and broadcast workflows where loudness standardization is required. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires audio data as a numpy array with shape (samples, channels); audio must be loaded separately using soundfile or similar.
- Low install friction with only scipy and numpy as dependencies.
- The package is aging (222 days since last release) but the repository remains active with recent commits and 780 GitHub stars.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most audio processing workflows.
last release 2026-01-04 (222 days) · last repo commit 2026-01-04 · 780 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,030,269 downloads/mo, #2,396 on PyPI
Alternatives
Verify before relying
import pyloudnorm as pyln
import numpy as np
meter = pyln.Meter(rate) # create meter for sample rate
audio = np.random.randn(samples, channels)
loudness = meter.integrated_loudness(audio)
print(f"Loudness: {loudness}")- Whether the package handles edge cases like mono audio or very short audio files gracefully
- Performance characteristics when processing large audio files or real-time streams
- Compatibility with other audio libraries beyond soundfile
What it is and what it does
pyloudnorm is a Python implementation of the ITU-R BS.1770-4 loudness metering standard, used in broadcast and audio production to measure perceived loudness. It wraps scipy and numpy to perform frequency weighting and loudness analysis on audio arrays, supporting both measurement and normalization workflows.
The package provides a Meter class that analyzes audio at a given sample rate, offering integrated loudness measurement, loudness range calculation per EBU Tech 3342, and peak/loudness normalization functions. It includes multiple filter implementations (BS.1770 standard, DeMan, Fenton/Lee variants, and Dash et al.) and allows customization of block size and custom IIR filters for specialized use cases.
Use it for
- Normalize podcast or streaming audio to broadcast-standard loudness levels before distribution
- Measure loudness range in music production to assess dynamic variation across a track
- Batch-process audio files to ensure consistent perceived volume across a catalog
- Implement loudness metering in audio editing or DAW plugins
- Validate audio compliance with streaming platform loudness requirements
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a specific, well-defined problem (ITU-R BS.1770-4 loudness measurement) with low install friction, permissive licensing, and active maintenance. It is suitable for audio production, streaming, and broadcast workflows where loudness standardization is required. No known vulnerabilities.
Install
pyloudnorm on PyPI
Before you install
Low install friction with only scipy and numpy as dependencies. The package is aging (222 days since last release) but the repository remains active with recent commits and 780 GitHub stars.
Requires audio data as a numpy array with shape (samples, channels); audio must be loaded separately using soundfile or similar.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most audio processing workflows.
Quickstart
import pyloudnorm as pyln
import numpy as np
meter = pyln.Meter(rate) # create meter for sample rate
audio = np.random.randn(samples, channels)
loudness = meter.integrated_loudness(audio)
print(f"Loudness: {loudness}")
Verify before relying
- Whether the package handles edge cases like mono audio or very short audio files gracefully
- Performance characteristics when processing large audio files or real-time streams
- Compatibility with other audio libraries beyond soundfile
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesscipynumpy |
| Maintenance | Aging 222 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,030,269 / month, #2,396 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Multimedia :: Sound/AudioTopic :: Scientific/Engineering |
Evidence: pyloudnorm-0.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “audio loudness measurement”
- pyloudnormMeasures and normalizes audio loudness according to the ITU-R…
- numpy-rmsCalculates Root Mean Square (RMS) values over sliding windows in…
- nlpaugnlpaug generates synthetic augmented text and audio data for machine…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also pyrubberband · pystoi · torchfcpe · pyunormalize · silero-vad · samplerate · kokoro · audiomentations · soundfile · descript-audiotools