audio

@audio/weighting1.4.0

Frequency weighting filters

Frequency weighting filters — umbrella for @audio/weighting-* atoms (A, B, C, D, K/BS.1770, ITU-R 468, RIAA)

Status
calibrated
Updated
Family
7 packages under it: a, b, c, d, itu468, k, riaa
Category
analysis
Standards
IEC 61672, ANSI S1.42, ITU-R BS.1770-4, ITU-R BS.468-4
Licence
MIT
Dependencies
10 packages, all permissive: MIT
Downloads
2,515 last month
Tests
45 in audiojs/weighting's CI, passed at 5af7b6f,

Listen

// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
audio('/samples/music/modern/local-forecast.mp3').itu468()

// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html

Plugins

a-weighting
  • effect
  • streaming
  • tail
0 parameters
b-weighting
  • effect
  • streaming
  • tail
0 parameters
c-weighting
  • effect
  • streaming
  • tail
0 parameters
d-weighting
  • effect
  • streaming
  • tail
0 parameters
itu468
  • effect
  • streaming
  • tail
0 parameters
k-weighting
  • effect
  • streaming
  • tail
0 parameters
riaa
  • effect
  • streaming
  • tail
0 parameters

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

Package What
@audio/weighting-a IEC 61672 A-weighting
@audio/weighting-b IEC 61672 / ANSI S1.42 B-weighting
@audio/weighting-c IEC 61672 C-weighting
@audio/weighting-d IEC 537 D-weighting (aircraft noise, resonant hump near 3.3 kHz)
@audio/weighting-k ITU-R BS.1770-4 K-weighting (exact at any sample rate)
@audio/weighting-itu468 ITU-R BS.468-4 noise weighting
@audio/weighting-riaa RIAA 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.