{"_id":"@audio/spatial-channelsplit","_rev":"2-f2a14a4b635ed143293e5332f4b3ed63","name":"@audio/spatial-channelsplit","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@audio/spatial-channelsplit","version":"1.0.0","keywords":["audio","dsp","spatial","channelsplit"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/spatial-channelsplit@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":"85ff4223c719da86fd73c7154fade3292aa071ac","tarball":"https://registry.npmjs.org/@audio/spatial-channelsplit/-/spatial-channelsplit-1.0.0.tgz","fileCount":2,"integrity":"sha512-j0S4tV3yN2gdoaWTHO5Y3Rrzmr2BeZA6SwLW0kJkSrG7mHfoEM1DuFOrpdgC74MQSPWOR9hLJYCnrcZBy82MIw==","signatures":[{"sig":"MEYCIQDl06Tyezcag1MpjgmlXGfmG1jvxmu3/vX2cyX63RfN+QIhAMxsq5ihcQqiyljHkH11i7no201b359Oa/izDJY/v4ZM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":847},"main":"channelsplit.js","type":"module","engines":{"node":">=18"},"exports":{".":"./channelsplit.js","./package.json":"./package.json"},"gitHead":"255b1529ccf50a2840e8dfae80e9912e53f16d3d","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"Channel split/combine — multichannel ↔ mono planes (FFmpeg channelsplit)","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/spatial-channelsplit_1.0.0_1783539762437_0.6145982771455294","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@audio/spatial-channelsplit","version":"1.0.1","description":"Channel split/combine — multichannel ↔ mono planes (FFmpeg channelsplit)","type":"module","sideEffects":false,"main":"channelsplit.js","exports":{".":"./channelsplit.js","./package.json":"./package.json"},"types":"channelsplit.d.ts","keywords":["audio","dsp","spatial","channelsplit"],"license":"MIT","author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/audiojs/spatial.git","directory":"packages/spatial-channelsplit"},"funding":"https://github.com/sponsors/audiojs","gitHead":"e7a50a84cccd4790401b1955222ce6faba5b159f","_id":"@audio/spatial-channelsplit@1.0.1","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-JetvWLqhNZwBjScDZ87Mzy6HaBfcSNjLE/yYg2qOMYClywEhs/wIUfDJCLFn17x/shJbCp3V2/cFRRA7hbC+Xg==","shasum":"e1884ff17f396b1ecf69fc6043e03d50a94d0570","tarball":"https://registry.npmjs.org/@audio/spatial-channelsplit/-/spatial-channelsplit-1.0.1.tgz","fileCount":4,"unpackedSize":2944,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG10WQ1mscsQtx7qUP0noM7hPVSP9phayLMttHl/lwRCAiEA9q27ggXibpJcxOzEFNJTw6PK524IICAYMZDDAcRJaR0="}]},"_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-channelsplit_1.0.1_1783731824688_0.4192921163152574"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T19:42:42.325Z","modified":"2026-07-11T01:03:45.018Z","1.0.0":"2026-07-08T19:42:42.586Z","1.0.1":"2026-07-11T01:03:44.828Z"},"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","keywords":["audio","dsp","spatial","channelsplit"],"description":"Channel split/combine — multichannel ↔ mono planes (FFmpeg channelsplit)","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/spatial-channelsplit [![npm](https://img.shields.io/npm/v/@audio/spatial-channelsplit)](https://www.npmjs.com/package/@audio/spatial-channelsplit) [![MIT](https://img.shields.io/badge/MIT-%E0%A5%90-white)](https://github.com/krishnized/license)\n\nChannel split/combine — multichannel ↔ mono planes (FFmpeg channelsplit)\n\n```\nnpm install @audio/spatial-channelsplit\n```\n\n```js\nimport { split, combine } from '@audio/spatial-channelsplit'\n```\n\nConverts between a multichannel buffer and its per-channel mono planes — the FFmpeg `channelsplit`/`amerge` pair. `split` copies each channel into a fresh `Float32Array`; `combine` is the identity (the array of planes already *is* the channel layout other spatial atoms expect).\n\n```js\nlet planes = split(channels)   // Float32Array[] → Float32Array[] (copies)\nlet channels2 = combine(planes) // Float32Array[] → Float32Array[] (identity)\n```\n\n| Export | Signature | |\n|---|---|---|\n| `split` | `(channels) => Float32Array[]` | copies each plane |\n| `combine` | `(planes) => Float32Array[]` | identity — planes already are the channel array |\n\n**Use when:** normalizing a channel-layout boundary between atoms that read planes directly (`spatial-panner`, `spatial-midside`) and ones that read a `Float32Array[]` (`spatial-delay`, `spatial-surround`).\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-channelsplit"},"bugs":{"url":"https://github.com/audiojs/spatial/issues"}}