@audio/effect-noiseshaper
v1.1.4
Published
Noise shaping — error-feedback dithering for bit-depth reduction
Downloads
742
Readme
@audio/effect-noiseshaper

Noise shaping — error-feedback dithering for bit-depth reduction
npm install @audio/effect-noiseshaperimport noiseShaping from '@audio/effect-noiseshaper'Error-feedback quantization — shapes quantization noise out of the audible band.
bits target bit depth (default 16)
import { noiseShaping } from '@audio/effect'
for (let buf of stream) noiseShaping(buf, { bits: 16 })Use when: dithering before bit-depth reduction, quantization to lower bit depths Not for: audio compression (unrelated to lossy codecs)
Part of @audio/effect — the effect family umbrella. This README is generated from the umbrella docs.
MIT © audiojs
