Crate ebur128

Source
Expand description

Implementation of the EBU R128 loudness standard.

The European Broadcasting Union Loudness Recommendation (EBU R128) informs broadcasters how they can analyze and normalize audio so that each piece of audio sounds roughly the same volume to the human ear.

This crate provides an API which analyzes audio and outputs perceived loudness. The results can then be used to normalize volume during playback.

Features:

  • Implements M, S and I modes (EBU - TECH 3341)
  • Implements loudness range measurement (EBU - TECH 3342)
  • True peak scanning
  • Supports all samplerates by recalculation of the filter coefficients

Structs§

EbuR128
EBU R128 loudness analyzer.
Mode
Processing mode.

Enums§

Channel
Channel position.
Error
Error values for EbuR128 functions.

Functions§

energy_to_loudness
Convert linear energy to logarithmic loudness.