Crates.io | audio-loudness-batch-normalize |
lib.rs | audio-loudness-batch-normalize |
version | 0.3.2 |
created_at | 2025-04-17 10:12:29.655717+00 |
updated_at | 2025-09-20 09:57:53.70085+00 |
description | Easy to use audio loudness batch normalization tool using EBU R128 and RMS |
homepage | |
repository | https://github.com/lxl66566/audio-loudness-batch-normalize |
max_upload_size | |
id | 1637447 |
size | 88,987 |
English | 简体中文
(Previous attempt: Loudness-Normalization-tauri-app. As the EBU R128 algorithm proved less effective for galgame voice streaming scenarios, I try to directly normalize the loudness of raw galgame audio instead.)
Audio Loudness Batch Normalize is a command-line tool designed for batch processing audio files to achieve consistent loudness levels across multiple files. It utilizes the EBU R128 algorithm for loudness adjustment and offers configurable target loudness values and true peak limiting.
Choose one of the following methods:
cargo binstall audio-loudness-batch-normalize
loudness-normalize <input_directory> [options]
Options:
<input_directory> Input directory for audio files
-o, --output <path> Output directory (default: override input audios)
-s, --sample-percentage <float> Percentage of files to sample (default: 1.00, samples all audio files)
-t, --trim-percentage <float> Trimming percentage for averaging (default: 0.30, removes the highest 15% and lowest 15%)
--target-lufs <float> Target loudness value (LUFS) (default: auto-calculated)
--true-peak-db <float> Target true peak (dBTP) (default: -1.5)
-t, --threads <number> Number of processing threads (default: CPU core count)
sample_percentage
to calculate the target loudness (LUFS).
trim_percentage
. For example, setting trim_percentage
to 0.3 will remove the loudness values in the top 15% and bottom 15% of the samples.Gemini 2.5 Pro Preview 03-25