pyFDN.slope_amplitude_to_level#
- pyFDN.slope_amplitude_to_level(amplitude, decay_time, fs)[source]#
Initial amplitude of an exponential decay from its energy (EDC amplitude).
A decay with initial amplitude
Land reverberation timeT, i.e. the envelopeL * 10**(-3 t / T), carries the energyE = L**2 * T * fs / (6 ln 10), soL = sqrt(6 ln(10) E / (T fs)).Eis the amplitude of the energy decay curve att = 0, which is what multi-slope estimators (DecayFitNet, Bayesian decay analysis) report as the slope amplitudeA— one value per slope and band. The conversion is therefore how a multi-slope estimate becomes a set of per-slope FDN levels. Note that estimators usually normalise the EDC to 0 dB, in which case the amplitudes must be multiplied by the reported normalisation value first.Slopes with
decay_time == 0are inactive and map to level 0.- Parameters:
- Returns:
Initial level (linear amplitude), broadcast shape of the inputs.
- Return type:
See also
estimate_initial_level_bandssingle-slope band levels straight from an IR.