Skip to main content

schroeder_backward_integration_db

Function schroeder_backward_integration_db 

pub fn schroeder_backward_integration_db(
    impulse_response: &[f64],
) -> Result<Vec<f64>, NumericalError>
Expand description

Compute the normalized Schroeder backward energy integration curve in dB: $$E(k) = \sum_{n=k}^{N-1} h[n]^2, \qquad L_{\text{EDC}}(k) = 10\log_{10}!\left(\frac{E(k)}{E(0)}\right)$$ Rejects empty, non-finite, or all-zero silent impulse responses (C02-C01 / AQ-04).