@audio/weighting

July 9, 2026 · View on GitHub

Frequency weighting filters — time-domain SOS implementations with .coefs(fs) for analysis.

PackageWhat
@audio/weighting-aIEC 61672 A-weighting
@audio/weighting-bIEC 61672 / ANSI S1.42 B-weighting
@audio/weighting-cIEC 61672 C-weighting
@audio/weighting-dIEC 537 D-weighting (aircraft noise, resonant hump near 3.3 kHz)
@audio/weighting-kITU-R BS.1770-4 K-weighting (exact at any sample rate)
@audio/weighting-itu468ITU-R BS.468-4 noise weighting
@audio/weighting-riaaRIAA playback equalization

Each atom carries .response(f, fs) — the magnitude of its own SOS cascade, absorbed from the standalone a-weighting response functions. Extracted from filter.