audioJS

@audio/effect-noiseshaper

Status calibrated

npm1.1.5licenseMIT

Noise shaping — error-feedback dithering for bit-depth reduction

Overview

Install
Updated
Family
effect, 26 packages under it
Tags
shape
import 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-noiseshaper'

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