Expand description
Octave- and third-octave-band filtering for ISO 3382 per-band analysis.
ISO 3382 requires reverberation times and clarity metrics to be reported per octave (125 Hz … 4 kHz minimum) or third-octave band. This module provides:
- Standard ISO/IEC 61260 nominal centre frequencies.
- A zero-phase Butterworth bandpass implementation built on the same
math-iir-fir::filtfiltcascade used elsewhere in the crate, so the filtered RIR has no group-delay distortion and the energy in each band is directly comparable. - A convenience entry point that computes
crate::metrics::Iso3382Metricsfor every requested band in parallel.
Enums§
- Band
Width - How many octaves wide a band is.
Constants§
- ISO_
OCTAVE_ CENTERS_ HZ - ISO 3382-1 reports reverberation across octave bands 125 Hz … 4 kHz
(and recommends 63 Hz and 8 kHz where the RIR supports them). These
are the nominal centre frequencies — the actual base-2 centres
(
1000 · 2^k) only differ from the nominal values by < 0.6 %. - ISO_
THIRD_ OCTAVE_ CENTERS_ HZ - ISO/IEC 61260 third-octave centres covering 100 Hz … 10 kHz.
Functions§
- analyze_
iso3382_ bands - Per-band ISO 3382 analysis on a broadband RIR.
- analyze_
iso3382_ octaves - Convenience: ISO octave-band analysis (125 Hz … 8 kHz).
- analyze_
iso3382_ third_ octaves - Convenience: ISO third-octave-band analysis (100 Hz … 10 kHz).
- bandpass
- Filter
rirthrough a zero-phase Butterworth bandpass centred atfc.