Measure integrated loudness in LUFS and RMS standards.
This project aims to deepen my Rust language skills combined with my interest in audio engineering.
> cargo run -- testsamples/beat.wav testsamples/sine.wav
Compiling loudness-addict v0.1.0 (F:\Dev\loudness-addict)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s
Running `target\debug\loudness-addict.exe testsamples/beat.wav testsamples/sine.wav`
Loudness Addict 0.1.0
Parameters
["target\\debug\\loudness-addict.exe", "testsamples/beat.wav", "testsamples/sine.wav"]
testsamples/beat.wav Int. RMS: -9.18
testsamples/sine.wav Int. RMS: -15.05
Developed using Rust v1.82.0.
First, you need to have Rust installed on your computer.
Open a terminal:
- Windows: run
Windows Terminal,cmd, orPowerShell. - Mac: run
Terminal. - Linux: run
Terminal.
In the project root folder, run:
cargo run -- testsamples/beat.wav testsamples/sine.wav
- bs1770 - Loudness analysis conforming to ITU-R BS.1770-4
- hound - A wav encoding and decoding library
- Recommendation ITU-R BS.1770-5 (11/2023) BS Series: Broadcasting service (sound) Algorithms to measure audio programme loudness and true-peak audio level
- Loudness Metering: ‘EBU MODE’ Metering To Supplement EBU R 128 LOUDNESS NORMALIZATION
- The binary program uses MIT license.
- The crates use Apache 2.0 licenses.
I started the project on 19th October, 2024.