Expand description
Q06 Mode 0x0105: Perceptual auditory features (4 * feature_count B, Schema 203).
Enforces strict unit/scale separation (dB-SPL, sone, LUFS, mel, MFCC, ERB/Bark/Gammatone),
explicit filterbank definitions (centers_hz, FIR coefficients, integration, reference_pressure_pa),
ITU-R BS.1770-4/5 gating profiles separate from SPL, non-infinite silence handling, and
raw source / legacy Q4AU v1/v2 feature preservation (Schema 209).
Structs§
- Perceptual
Chunk View - Zero-heap borrowed view over verified
0x0105perceptual feature vectors. - Perceptual
Document View - Perceptual
Write Spec - Descriptor configuration for
mode 0x0105perceptual feature containers.
Enums§
Constants§
Functions§
- bs1770_
integrated_ lufs - ITU-R BS.1770-4/5 two-stage gated integrated loudness in LUFS (
-70 LKFSabsolute,-10 LUrelative).block_mean_squaresholds[channel]mean-square energies per 400 ms gating block. - dtft_
magnitude - Evaluates DTFT magnitude
|sum_n h[n] * exp(-i * 2*pi*nu*n)|at normalized freqnu = f/fs. - erb_
bandwidth_ hz - Glasberg & Moore (1990) ERB bandwidth in Hz at center frequency
f_hz >= 0. - gammatone_
fir_ impulse - Synthesizes a unity-peak-gain 4th-order real Gammatone FIR filterbank impulse response
(
h[n]) atcenter_hzandsample_rate_hz. - hz_
to_ bark - Zwicker analytical Bark scale conversion.
- hz_
to_ erb_ number - Glasberg & Moore ERB-rate number scale (
Cams). - hz_
to_ mel_ htk - HTK Mel conversion (
2595 * log10(1 + f / 700)). - mel_
to_ hz_ htk - migrate_
legacy_ q4au_ v2_ features - Migrates a legacy
Q4AU v2container preserving exact original bytes (mode 0x0104), plane-0 spectra (mode 0x0101underlegacy-unknown), mel & MFCC planes (mode 0x0105), andSchema 209 LegacyRetentionlineage without fabricating window/hop metadata. - read_
perceptual_ features_ qac - rms_
pa_ to_ db_ spl - Exact dB-SPL from finite RMS acoustic pressure
rms_pa >= 0(p_ref > 0). ReturnsErr(SampleStatus::Silence)on exact zero RMS instead of-inf! - write_
perceptual_ features_ qac - Writes canonical QAC v1
mode 0x0105perceptual feature stream (Schema 203+205).