Skip to main content

perceptual_load_from_wav

Function perceptual_load_from_wav 

Source
pub fn perceptual_load_from_wav(bytes: &[u8]) -> Result<f32, AudioError>
Expand description

Compute the equal-loudness-weighted “perceptual load” of a WAV byte buffer.

Returns a single non-negative scalar (A-weighted spectral RMS averaged over blocks). Propagates AudioError from decode / conversion / FFT.