{"_id":"@audio/spatial-haas","_rev":"5-63c26eb99851b553b29b8dfaad4fb748","name":"@audio/spatial-haas","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@audio/spatial-haas","version":"1.0.0","keywords":["audio","dsp","spatial","stereo","haas"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spatial-haas@1.0.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"dist":{"shasum":"d8035885352b90d30ae2ddee8fd8e1584eb1913c","tarball":"https://registry.npmjs.org/@audio/spatial-haas/-/spatial-haas-1.0.0.tgz","fileCount":2,"integrity":"sha512-unwh9eP3m4JvvaBgsmkaCExCtps/FE6cAw/nYQ5v8F2dZj3jQr3E4MhLMwhfy85dNmyXxagPFFWrBonigVaqqg==","signatures":[{"sig":"MEUCIBHyjDdwB6Ix64wGTd9Az5kUeFh3H7Wy11Hn41flPs0sAiEA4freiYvRwF6F5ixL8K5CrcZfQuHs96pbhYR0XRAk0ps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1371},"main":"haas.js","type":"module","engines":{"node":">=18"},"exports":{".":"./haas.js","./package.json":"./package.json"},"gitHead":"255b1529ccf50a2840e8dfae80e9912e53f16d3d","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"Haas effect — delays one channel by 1–35 ms to create phantom stereo image","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spatial-haas_1.0.0_1783539768777_0.21322626057028593","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@audio/spatial-haas","version":"1.1.0","keywords":["audio","dsp","spatial","stereo","haas"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spatial-haas@1.1.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"atom":"./atom.js","dist":{"shasum":"86a4ec8d12fba953a0e90e9a8c378b277837988a","tarball":"https://registry.npmjs.org/@audio/spatial-haas/-/spatial-haas-1.1.0.tgz","fileCount":3,"integrity":"sha512-cjUMk1rhQPVVLngS5GThZq81pYu9CjrdmQ8Tu/X8IxYlwhJz6FykNqqRnJh48FGWtkyZoqDfKvOAdE7x8Jmmaw==","signatures":[{"sig":"MEUCIQC/BU2rAS/FGjWrZhNo4o/O6NAo849V+RNDUlQLsVnv+QIgas/oikg5UVFcWh9p//wlQLyHev6n3RM3ckzFiX5UI8Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2641},"main":"haas.js","type":"module","engines":{"node":">=18"},"exports":{".":"./haas.js","./atom":"./atom.js","./package.json":"./package.json"},"gitHead":"df72c00f67a7abea2a6beeeee2c484677a7bb010","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"Haas effect — delays one channel by 1–35 ms to create phantom stereo image","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spatial-haas_1.1.0_1783598102098_0.6115249802750515","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@audio/spatial-haas","version":"1.1.1","keywords":["audio","dsp","spatial","stereo","haas"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spatial-haas@1.1.1","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"dist":{"shasum":"aaa3073fb2ce724038e55e6f2c0d9efbdd184175","tarball":"https://registry.npmjs.org/@audio/spatial-haas/-/spatial-haas-1.1.1.tgz","fileCount":3,"integrity":"sha512-dR7kVrqOGEUQ84deE6o6KcW9lxqOC8K8Z8L9iSm3XBG+3qzPPWXEQ/BWufoW9DAVHOpnl2GRycWvTwWQ2M1paQ==","signatures":[{"sig":"MEUCIQCbzfY9E/WaZYLnGMhS+ipVJtxzFVb+20fL6mZpG5N4HQIgZES0OlexPSrS5Gr5TMJT3fdYTXlzGQ4J8f2BjtUllbs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2649},"main":"haas.js","type":"module","audio":"./audio.js","engines":{"node":">=18"},"exports":{".":"./haas.js","./audio":"./audio.js","./package.json":"./package.json"},"gitHead":"5694921e0136d76f48958e40a99a01f80cd656cd","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"Haas effect — delays one channel by 1–35 ms to create phantom stereo image","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spatial-haas_1.1.1_1783645045077_0.2440846294240162","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@audio/spatial-haas","version":"1.1.2","keywords":["audio","dsp","spatial","stereo","haas"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spatial-haas@1.1.2","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"dist":{"shasum":"d9d8effd35b6ddc12aa713724a40d054653096ad","tarball":"https://registry.npmjs.org/@audio/spatial-haas/-/spatial-haas-1.1.2.tgz","fileCount":4,"integrity":"sha512-MeTl66OKTj9vp3/axdzlDpxGeDsibZtHkDiHQqm43GX67tCTzIVti+6cuhaRWEVLeOPrVGHvGwMBpNkulNfhZQ==","signatures":[{"sig":"MEQCIHnABJFs5V6PKpF0hDGTmypyk/MVkyAcAu7qgH5B8ncgAiAVUGBf7yf3aR9/rcz1IECsyWU34u/2C0KS4U6ibuwpKQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4069},"main":"haas.js","type":"module","audio":"./audio.js","engines":{"node":">=18"},"exports":{".":"./haas.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"gitHead":"153141debb7e69ee1fc0886a8718c83098f71573","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"Haas effect — delays one channel by 1–35 ms to create phantom stereo image","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spatial-haas_1.1.2_1783701806900_0.48539333078140956","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@audio/spatial-haas","version":"1.1.3","description":"Haas effect — delays one channel by 1–35 ms to create phantom stereo image","type":"module","sideEffects":false,"main":"haas.js","exports":{".":"./haas.js","./audio":{"types":"./audio.d.ts","default":"./audio.js"},"./package.json":"./package.json"},"types":"haas.d.ts","keywords":["audio","dsp","spatial","stereo","haas"],"license":"MIT","author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"audio":"./audio.js","repository":{"type":"git","url":"git+https://github.com/audiojs/spatial.git","directory":"packages/spatial-haas"},"funding":"https://github.com/sponsors/audiojs","gitHead":"e7a50a84cccd4790401b1955222ce6faba5b159f","_id":"@audio/spatial-haas@1.1.3","bugs":{"url":"https://github.com/audiojs/spatial/issues"},"homepage":"https://github.com/audiojs/spatial#readme","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-CeFBF7EniDmBcHExmMavD2mPfeF+MZdu1hBCLeu0INC69RmA2K3R8yicrkxanjPCHLZWtXCrwlBqGa+cAbb2PA==","shasum":"b5d1b5262fd626bd2ca41756153e673580a99cc5","tarball":"https://registry.npmjs.org/@audio/spatial-haas/-/spatial-haas-1.1.3.tgz","fileCount":6,"unpackedSize":6278,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDMIxBf5laeFLv08BjY0OfFUO5d94nU99A5y7qYiAv3oQIhAMktOvCaxIfZiiYVxBoVR4nVtxBr6teMDwBJyyGHX2WJ"}]},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"directories":{},"maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/spatial-haas_1.1.3_1783731831536_0.7737867184774578"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T19:42:48.544Z","modified":"2026-07-11T01:03:51.795Z","1.0.0":"2026-07-08T19:42:48.938Z","1.1.0":"2026-07-09T11:55:02.226Z","1.1.1":"2026-07-10T00:57:25.222Z","1.1.2":"2026-07-10T16:43:27.014Z","1.1.3":"2026-07-11T01:03:51.674Z"},"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","keywords":["audio","dsp","spatial","stereo","haas"],"description":"Haas effect — delays one channel by 1–35 ms to create phantom stereo image","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/spatial-haas [![npm](https://img.shields.io/npm/v/@audio/spatial-haas)](https://www.npmjs.com/package/@audio/spatial-haas) [![MIT](https://img.shields.io/badge/MIT-%E0%A5%90-white)](https://github.com/krishnized/license)\n\nHaas effect — delays one channel by 1–35 ms to create phantom stereo image\n\n```\nnpm install @audio/spatial-haas\n```\n\n```js\nimport haas from '@audio/spatial-haas'\n```\n\nDelays one channel by a short interval (precedence effect range, 1–35 ms) to widen a mono or near-mono source into a phantom stereo image without changing tonal balance. Modifies `left`/`right` in place; the delay buffer/pointer are carried on `params`.\n\n```js\nhaas(left, right, { time: 0.02, channel: 'right' })   // both modified in place\n```\n\n| Param | Default | |\n|---|---|---|\n| `time` | `0.02` | Delay, seconds (1–35 ms is the precedence-effect range) |\n| `channel` | `'right'` | Which channel is delayed: `'left'` or `'right'` |\n| `fs` | `44100` | Sample rate |\n\n**Use when:** widening a mono source cheaply; reuse the same `params` object across calls — the delay buffer persists there.\n\n---\n\nPart of [@audio/spatial](https://github.com/audiojs/spatial) — the spatial family umbrella.\n\nMIT © [audiojs](https://github.com/audiojs)\n","readmeFilename":"README.md","homepage":"https://github.com/audiojs/spatial#readme","repository":{"type":"git","url":"git+https://github.com/audiojs/spatial.git","directory":"packages/spatial-haas"},"bugs":{"url":"https://github.com/audiojs/spatial/issues"}}