@audio/spatial 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +17 -0
  2. package/index.js +13 -0
  3. package/package.json +55 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @audio/spatial
2
+
3
+ > Spatial & channel tools — stereo imaging, panning, headphone crossfeed.
4
+
5
+ | Package | Status | What |
6
+ |---|---|---|
7
+ | `@audio/spatial-panner` | ✔ | equal-power stereo panner |
8
+ | `@audio/spatial-widener` | ✔ | mid/side stereo widener |
9
+ | `@audio/spatial-haas` | ✔ | Haas precedence effect |
10
+ | `@audio/spatial-autopan` | ✔ | LFO-driven auto-panner |
11
+ | `@audio/spatial-crossfeed` | ✔ | headphone crossfeed |
12
+ | `@audio/spatial-midside` | planned | M/S encode-decode |
13
+ | `@audio/spatial-channelsplit` | planned | channel split/combine (FFmpeg channelsplit) |
14
+ | `@audio/spatial-delay` | planned | per-channel delay (FFmpeg adelay) |
15
+ | `@audio/spatial-surround` | planned | stereo → 5.1 upmix |
16
+
17
+ Extracted from [effect](https://github.com/audiojs/effect) (`spatial/`) and [filter](https://github.com/audiojs/filter) (`eq/crossfeed`). FFmpeg-parity targets: stereotools, stereowiden, extrastereo, bs2b.
package/index.js ADDED
@@ -0,0 +1,13 @@
1
+ // @audio/spatial — spatial & channel tools umbrella re-exporting every @audio/spatial-* atom.
2
+ // For smaller bundles, depend directly on the individual atom.
3
+
4
+ export { default as panner } from '@audio/spatial-panner'
5
+ export { default as stereoWidener } from '@audio/spatial-widener'
6
+ export { default as haas } from '@audio/spatial-haas'
7
+ export { default as autoPanner } from '@audio/spatial-autopan'
8
+ export { default as crossfeed } from '@audio/spatial-crossfeed'
9
+ export { encode as msEncode, decode as msDecode } from '@audio/spatial-midside'
10
+ export { split as channelSplit, combine as channelCombine } from '@audio/spatial-channelsplit'
11
+ export { default as channelDelay } from '@audio/spatial-delay'
12
+ export { default as microshift } from '@audio/spatial-microshift'
13
+ export { default as surround } from '@audio/spatial-surround'
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@audio/spatial",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "sideEffects": false,
6
+ "description": "Spatial & channel tools — umbrella for @audio/spatial-* atoms (panner, widener, haas, auto-panner, crossfeed)",
7
+ "main": "index.js",
8
+ "exports": {
9
+ ".": "./index.js",
10
+ "./package.json": "./package.json"
11
+ },
12
+ "files": [
13
+ "index.js"
14
+ ],
15
+ "workspaces": [
16
+ "packages/*"
17
+ ],
18
+ "scripts": {
19
+ "test": "node test.js && node test/crossfeed.js",
20
+ "test:all": "npm test --workspaces --if-present && npm test",
21
+ "publish:all": "npm publish --workspaces && npm publish"
22
+ },
23
+ "dependencies": {
24
+ "@audio/spatial-panner": "^1.0.0",
25
+ "@audio/spatial-widener": "^1.0.0",
26
+ "@audio/spatial-haas": "^1.0.0",
27
+ "@audio/spatial-autopan": "^1.0.0",
28
+ "@audio/spatial-crossfeed": "^1.0.0",
29
+ "@audio/spatial-midside": "^1.0.0",
30
+ "@audio/spatial-channelsplit": "^1.0.0",
31
+ "@audio/spatial-delay": "^1.0.0",
32
+ "@audio/spatial-microshift": "^1.0.0",
33
+ "@audio/spatial-surround": "^1.0.0"
34
+ },
35
+ "keywords": [
36
+ "audio",
37
+ "dsp",
38
+ "spatial",
39
+ "stereo",
40
+ "panner",
41
+ "crossfeed",
42
+ "haas"
43
+ ],
44
+ "license": "MIT",
45
+ "author": "Dmitry Iv. <dfcreative@gmail.com>",
46
+ "engines": {
47
+ "node": ">=18"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
52
+ "devDependencies": {
53
+ "tst": "^9.4.0"
54
+ }
55
+ }