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/saturate-multiband

v1.1.4

Published

Multiband saturation — LR split + per-band tube drive (Saturn class)

Readme

@audio/saturate-multiband npm MIT

Multiband saturation — LR split + per-band tube drive (Saturn class)

npm install @audio/saturate-multiband
import multiband from '@audio/saturate-multiband'

Linkwitz-Riley crossover splits the signal into bands, each band gets its own @audio/saturate-tube drive (or none), and the bands sum back flat (FabFilter Saturn class — drive the low end without smearing the highs, or vice versa). bands is either one options object applied to every band, or an array with one entry per band — null/undefined in the array means that band passes through the crossover split unsaturated but still summed back in.

multiband(data, { freqs: [200, 2000], fs: 44100 })                          // 3 bands, no drive (crossover only)
multiband(data, { freqs: [1000], bands: [null, { drive: 5 }], fs: 44100 })  // drive only the high band
multiband(data, { freqs: [200, 2000], bands: { drive: 3 }, fs: 44100 })     // same drive on every band

| Param | Default | | |---|---|---| | freqs | [200, 2000] | crossover split points in Hz — N points produce N+1 bands | | bands | undefined (no drive) | one options object for every band, or an array of per-band options / null | | order | 4 | Linkwitz-Riley crossover order | | fs | 44100 | sample rate |

Each band's @audio/saturate-tube options accept its own drive/bias/oversample — pass them inside the per-band object, e.g. { drive: 5, bias: 0.3 }.

Mutates data in place and returns it (same array reference, not a copy). No top-level mix: banded drive is applied per band via bands, and an unlisted/null band is the "0% wet" case for that band specifically.

Use when: driving one frequency region without smearing the others — bass warmth without top-end grit, or the reverse. Not for: a single full-band character (use tube/transistor/tape/waveshaper directly — cheaper, no crossover phase interaction).


Part of the @audio/saturate family.

MIT © audiojs