npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@audio/weighting-itu468

v1.2.2

Published

ITU-R BS.468-4 noise weighting, exact matched-z realization: peaked at

Readme

@audio/weighting-itu468 npm MIT

ITU-R BS.468-4 noise weighting — broadcast noise-measurement curve, peaked near 6.3 kHz

npm install @audio/weighting-itu468
import itu468 from '@audio/weighting-itu468'

Time-domain ITU-R BS.468-4 weighting: exact matched-z realization of the analog prototype (6 poles — two complex pairs plus two real, one zero at DC — found via Durand-Kerner root-finding on the spec's rational polynomial, Rec. ITU-R BS.468-4 Annex 1). The analog prototype matches the spec's reference table to within 0.05 dB across 31.5 Hz–20 kHz; the discrete filter reproduces this near-exactly away from Nyquist (error grows above ~10 kHz at 44.1/48 kHz — use ≥96 kHz for closest match at the top octave). Peaks +12.2 dB near 6.3 kHz. 3 second-order sections, normalized to exactly 0 dB at 1 kHz.

itu468(data)                              // in place, fs=48000
itu468(data, { fs: 96000 })
let sos = itu468.coefs(96000)             // 3 SOS sections — feed digital-filter's freqz
itu468.response(6300, 48000)              // |H(6300)| — near the +12.2dB peak

| Param | Default | | |---|---|---| | fs | 48000 | sample rate — SOS recomputed when it changes mid-stream |

| Static | Returns | | |---|---|---| | .coefs(fs) | SOS | 3-section cascade at rate fs, for analysis/plotting | | .response(f, fs) | number | \|H(f)\| — exact magnitude of this atom's own .coefs(fs) cascade, not an independent approximation |

Use when: measuring broadcast/telecom noise (hum, hiss, quantization noise) per ITU-R BS.468-4 / EBU Tech 3308 — weights toward the ear's peak sensitivity band rather than SPL-meter curves (A/B/C/D).


Part of @audio/weighting — the weighting family umbrella.

MIT © audiojs