{"_id":"@audio/effect-noiseshaper","_rev":"7-edcfa1110c7514b9a51ccff30a42fc79","name":"@audio/effect-noiseshaper","dist-tags":{"latest":"1.1.5"},"versions":{"1.0.0":{"name":"@audio/effect-noiseshaper","version":"1.0.0","keywords":["audio","dsp","effect","noiseshaper"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/effect-noiseshaper@1.0.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","bugs":{"url":"https://github.com/audiojs/effect/issues"},"dist":{"shasum":"867305a8847c043f239f9cb4baecf4d35a0076c4","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.0.0.tgz","fileCount":2,"integrity":"sha512-8AJ7NJMxhGlumfF9t294nhiDXxtDxz/5GcouUt+mJEc9MuKZF6XykeJol1xx02Vi+R39ZCzalCwilyBkcyfclQ==","signatures":[{"sig":"MEQCIA0UOECNGYegd3fseNM6TjfL6zMjPxddWKuM5AM1YRuXAiA9SqkW/WGYPjopdsjvAicT5sQ8iOFoCV4cpakoazxFiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1340},"main":"noise-shaping.js","type":"module","engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./package.json":"./package.json"},"gitHead":"2992889d64f6ae72258491fca39fa55c86d9a6ed","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/effect-noiseshaper_1.0.0_1783539906932_0.9710956848842405","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@audio/effect-noiseshaper","version":"1.1.0","keywords":["audio","dsp","effect","noiseshaper"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/effect-noiseshaper@1.1.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","bugs":{"url":"https://github.com/audiojs/effect/issues"},"dist":{"shasum":"e36c4fb0ac6585ff913573207b5c2d5ac5a6bdd4","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.1.0.tgz","fileCount":3,"integrity":"sha512-S2SeM9qOSkNwK/RBQh7SGRwN4Fxc0j03xgNLISRR9x6HdJsMQbch+QZdZ4iKeCjYG1EOXFvxzQE21WnjpEuH9A==","signatures":[{"sig":"MEYCIQDGl3FivmE4JMg2RLdcLD0YwUdI/UGuNMgjPDf7qoDgDwIhAJl//lRQ9EJArQYczLTO9YAe6TRWFaN8zb5JbUIBX6AT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2224},"main":"noise-shaping.js","type":"module","engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./audio-module":"./audio-module.js","./package.json":"./package.json"},"gitHead":"0918f92620c960d0a79263e8ef444a9596b706ab","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","audio-module":"./audio-module.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/effect-noiseshaper_1.1.0_1783557952802_0.4971018063727526","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@audio/effect-noiseshaper","version":"1.1.1","keywords":["audio","dsp","effect","noiseshaper"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/effect-noiseshaper@1.1.1","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","bugs":{"url":"https://github.com/audiojs/effect/issues"},"atom":"./atom.js","dist":{"shasum":"aa6f9ecb148e5e2bedbd1ec551f107cef63f864f","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.1.1.tgz","fileCount":3,"integrity":"sha512-g6tC2KtpbECtYA1mTnHe5Xwlh8hUwXmSs/yPralrm9yAlXD5szFlMBQQDPtCk2cNXubhuKF73iArG0tXw1OyYg==","signatures":[{"sig":"MEUCIFAWMbd6ZEjy0vn20h2oUnpZv9U6dEZaGhIgrTHsDOQ8AiEArfjhdf0QiDWybu/v/A2Yy8iXrWRxX+70heX4Ni4oRtU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2176},"main":"noise-shaping.js","type":"module","engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./atom":"./atom.js","./package.json":"./package.json"},"gitHead":"ee8581909bb5223f00a0403111691c4af0507706","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/effect-noiseshaper_1.1.1_1783560266000_0.30133043016434113","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@audio/effect-noiseshaper","version":"1.1.2","keywords":["audio","dsp","effect","noiseshaper"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/effect-noiseshaper@1.1.2","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","bugs":{"url":"https://github.com/audiojs/effect/issues"},"dist":{"shasum":"7f0574d7aac00cd2686cd39326a68517c827c2c1","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.1.2.tgz","fileCount":3,"integrity":"sha512-r9lwWseCrneAIxDbWkIkxJuTUhoTRYxOlbmU5EDZwcj6sYdQg6lXLNY1jFipFDxjyYPA/aPlYyOI1ELeH9bd/w==","signatures":[{"sig":"MEYCIQC9l+/4vsVzk9BKH4dNoZHr5KkLa3Blw/oOFgtoYQnEhgIhAN9lk25TDeuQBH84LtFEeuBd7UHMBh//kSRmymbpnAOK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2181},"main":"noise-shaping.js","type":"module","audio":"./audio.js","engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./audio":"./audio.js","./package.json":"./package.json"},"gitHead":"3581c36b89c1bfaad88107429ed1feda361c0311","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/effect-noiseshaper_1.1.2_1783644884597_0.9404306706566818","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@audio/effect-noiseshaper","version":"1.1.3","keywords":["audio","dsp","effect","noiseshaper"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/effect-noiseshaper@1.1.3","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","bugs":{"url":"https://github.com/audiojs/effect/issues"},"dist":{"shasum":"271ad3400ab6fc5b017febdc6396cb3794b109c1","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.1.3.tgz","fileCount":4,"integrity":"sha512-0yHjjNAQucWIHBzTeI4xm5WoTNW9UVOO9WFYyBJM8/VK/pwd2z9ww+eb8ra4cge6M9mvdzlSVUanpCpLMZT3vg==","signatures":[{"sig":"MEUCIA2KV5tUR+dB0+VCDcmz8p+IoT3KNakA7mLputuqf4UTAiEAgtRm6ANZk183sGsDCj0WjJu7dpcYj2nDJLB5uF6T6R4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3379},"main":"noise-shaping.js","type":"module","audio":"./audio.js","engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"gitHead":"6de6f0f16301ff620c086531dffc72c7af06a7dd","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/effect-noiseshaper_1.1.3_1783701660626_0.012461108634622242","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@audio/effect-noiseshaper","version":"1.1.4","keywords":["audio","dsp","effect","noiseshaper"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/effect-noiseshaper@1.1.4","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","bugs":{"url":"https://github.com/audiojs/effect/issues"},"dist":{"shasum":"954a095efdd0688c9d84a412c10a19ccc0c31507","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.1.4.tgz","fileCount":6,"integrity":"sha512-AjbHgWA1Bl6nHGnl1fVVPSEAtF6rUvvlSbMT/sSboCzl/SaVA0mGsa4V6zlRsejXdEorQu2sICPLeYTqQhmeKw==","signatures":[{"sig":"MEQCIH49KLRaffUTsqHv9aFtXtl8you0tS5oVFCo8bdhbY7kAiB4dh+qSsGwdiCK5u7q8Pw4GnyTgQ/XDYkwBkTDZSTb8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5025},"main":"noise-shaping.js","type":"module","audio":"./audio.js","types":"noise-shaping.d.ts","engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"3b3ce6842c9e4cbb7e409d6f8b67c24e2e8c6026","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/effect-noiseshaper_1.1.4_1783731491697_0.5734116763575674","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"_id":"@audio/effect-noiseshaper@1.1.5","bugs":{"url":"https://github.com/audiojs/effect/issues"},"dist":{"shasum":"ba0319954ad54989d7d2dcdd2577a8cc5739d7ea","tarball":"https://registry.npmjs.org/@audio/effect-noiseshaper/-/effect-noiseshaper-1.1.5.tgz","fileCount":6,"integrity":"sha512-c/9n7jQ8QoZMV3KvoVNK3kV4wmKBaq16IJzL4CH6RC7+tZNYayMDGr/Qn/ifjTsIbXrDOtT009fPuQk6yJb15g==","signatures":[{"sig":"MEYCIQDdEuiphVTWdUmg0YGm74y1HvCtRuPjNv1/AV/GtYamIwIhALXTnD5oTbA4AA58h59K4Saa6/ZfyYOnUOnZemK/ByOH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1FSfSGIV2equdrMlLvOMQqg5k1H9652UdiVTSuDj9kgIhALAoKqZXw1z1ZfROljnndjlr+WRX6f2+9NzmTg3xiSdD"}],"unpackedSize":5287},"main":"noise-shaping.js","name":"@audio/effect-noiseshaper","type":"module","audio":"./audio.js","types":"noise-shaping.d.ts","author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"engines":{"node":">=18"},"exports":{".":"./noise-shaping.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/audiojs","gitHead":"f4e251694dc9beee0ca2d5aee30e1ef0dc36c2e5","license":"MIT","version":"1.1.5","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","keywords":["audio","dsp","effect","noiseshaper"],"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"_npmVersion":"11.12.1","description":"Noise shaping — error-feedback dithering for bit-depth reduction","directories":{},"maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/effect-noiseshaper_1.1.5_1790192600433_0.0030319268217888773"}}},"time":{"created":"2026-07-08T19:45:06.779Z","modified":"2026-09-23T19:43:20.871Z","1.0.0":"2026-07-08T19:45:07.053Z","1.1.0":"2026-07-09T00:45:52.934Z","1.1.1":"2026-07-09T01:24:26.160Z","1.1.2":"2026-07-10T00:54:44.722Z","1.1.3":"2026-07-10T16:41:00.763Z","1.1.4":"2026-07-11T00:58:11.824Z","1.1.5":"2026-09-23T19:43:20.529Z"},"bugs":{"url":"https://github.com/audiojs/effect/issues"},"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","homepage":"https://github.com/audiojs/effect/tree/main/packages/effect-noiseshaper","keywords":["audio","dsp","effect","noiseshaper"],"repository":{"url":"git+https://github.com/audiojs/effect.git","type":"git","directory":"packages/effect-noiseshaper"},"description":"Noise shaping — error-feedback dithering for bit-depth reduction","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/effect-noiseshaper [![npm](https://img.shields.io/npm/v/@audio/effect-noiseshaper)](https://www.npmjs.com/package/@audio/effect-noiseshaper) [![MIT](https://img.shields.io/badge/MIT-%E0%A5%90-white)](https://github.com/krishnized/license)\n\nNoise shaping — error-feedback dithering for bit-depth reduction\n\n```\nnpm install @audio/effect-noiseshaper\n```\n\n```js\nimport noiseShaping from '@audio/effect-noiseshaper'\n```\n\nError-feedback quantization — shapes quantization noise out of the audible band.\n\n**`bits`** target bit depth (default 16)\n\n```js\nimport noiseShaping from '@audio/effect-noiseshaper'\n\nfor (let buf of stream) noiseShaping(buf, { bits: 16 })\n```\n\n**Use when**: dithering before bit-depth reduction, quantization to lower bit depths<br>\n**Not for**: audio compression (unrelated to lossy codecs)\n\n<!-- ![Noise shaping](plot/noise-shaping.svg) -->\n\n---\n\nPart of [@audio/effect](https://github.com/audiojs/effect) — the effect family umbrella. This README is generated from the umbrella docs.\n\nMIT © [audiojs](https://github.com/audiojs)\n","readmeFilename":"README.md"}