@audio/spatial-widener
v1.1.3
Published
Stereo widener — mid/side processing to adjust stereo width
Readme
@audio/spatial-widener

Stereo widener — mid/side processing to adjust stereo width
npm install @audio/spatial-widenerimport stereoWidener from '@audio/spatial-widener'Mid/side widener: splits left/right into mid/side, scales side by width, recombines. width=0 collapses to mono, width=1 is passthrough, width>1 emphasizes the side (stereo) content. Modifies left/right in place.
stereoWidener(left, right, { width: 1.5 }) // both modified in place| Param | Default | |
|---|---|---|
| width | 1.5 | 0 (mono) .. 1 (original) .. 2 (full side emphasis) |
Use when: simple, cheap width control; spatial-midside is the matrix underneath if you need mid/side access directly.
Part of @audio/spatial — the spatial family umbrella.
MIT © audiojs
