@audio/eq-tilt
v1.2.3
Published
Tilt EQ — see-saw around a pivot frequency
Readme
@audio/eq-tilt

One-knob see-saw tilt EQ
npm install @audio/eq-tiltimport tilt from '@audio/eq-tilt'One knob, one pivot frequency: a low-shelf at pivot boosted by gain and a high-shelf at pivot cut by the same gain (both fixed Q 0.5), cascaded. The two shelves meet near-flat at pivot and diverge oppositely on either side — positive gain tilts bass up / treble down, negative does the opposite. Mastering-bus "warmer"/"brighter" macro; broadcast tilt EQ.
let params = { gain: 2, pivot: 1000, fs: 44100 }
for (let buf of stream) tilt(buf, params)| Param | Default | |
|---|---|---|
| gain | 0 | Tilt amount, dB — positive tilts bass up / treble down, negative the opposite |
| pivot | 1000 | Pivot frequency, Hz — the point the tilt see-saws around |
| fs | 44100 | Sample rate, Hz |
Pass the same params object across successive calls — both shelves' coefficients and filter memory are cached on it and only rebuilt when gain/pivot/fs change, so state carries across block boundaries automatically.
Use when: one-knob mastering-bus balance — a single control that trades bass for treble without a multi-band EQ; broadcast/mastering tilt.
Part of @audio/eq — the eq family umbrella.
MIT © audiojs
