@jadujoel/web-audio-clip-node 0.1.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 (38) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +91 -0
  3. package/dist/audio/ClipNode.d.ts +86 -0
  4. package/dist/audio/processor-code.d.ts +1 -0
  5. package/dist/audio/processor-kernel.d.ts +43 -0
  6. package/dist/audio/processor.d.ts +1 -0
  7. package/dist/audio/types.d.ts +192 -0
  8. package/dist/audio/utils.d.ts +22 -0
  9. package/dist/audio/workletUrl.d.ts +6 -0
  10. package/dist/components/AudioControl.d.ts +28 -0
  11. package/dist/components/ContextMenu.d.ts +17 -0
  12. package/dist/components/ControlSection.d.ts +26 -0
  13. package/dist/components/DetuneControl.d.ts +10 -0
  14. package/dist/components/DisplayPanel.d.ts +14 -0
  15. package/dist/components/FilterControl.d.ts +12 -0
  16. package/dist/components/GainControl.d.ts +10 -0
  17. package/dist/components/PanControl.d.ts +10 -0
  18. package/dist/components/PlaybackRateControl.d.ts +10 -0
  19. package/dist/components/PlayheadSlider.d.ts +13 -0
  20. package/dist/components/SnappableSlider.d.ts +18 -0
  21. package/dist/components/TransportButtons.d.ts +14 -0
  22. package/dist/controls/controlDefs.d.ts +31 -0
  23. package/dist/controls/formatValueText.d.ts +2 -0
  24. package/dist/controls/linkedControlPairs.d.ts +20 -0
  25. package/dist/data/cache.d.ts +1 -0
  26. package/dist/data/fileStore.d.ts +6 -0
  27. package/dist/hooks/useClipNode.d.ts +31 -0
  28. package/dist/lib-react.d.ts +15 -0
  29. package/dist/lib-react.js +19 -0
  30. package/dist/lib-react.js.map +9 -0
  31. package/dist/lib.d.ts +16 -0
  32. package/dist/lib.js +44 -0
  33. package/dist/lib.js.map +9 -0
  34. package/dist/processor.js +4 -0
  35. package/dist/processor.js.map +12 -0
  36. package/dist/store/clipStore.d.ts +63 -0
  37. package/dist/styles.css +739 -0
  38. package/package.json +87 -0
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@jadujoel/web-audio-clip-node",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "Full-featured AudioWorklet clip player with playback rate, detune, gain, pan, filters, looping, fades, crossfade, and streaming buffer support. React components included.",
6
+ "keywords": [
7
+ "web-audio",
8
+ "audioworklet",
9
+ "audio",
10
+ "clip",
11
+ "player",
12
+ "dsp",
13
+ "react",
14
+ "worklet"
15
+ ],
16
+ "author": "joel.lof@icloud.com",
17
+ "license": "MIT",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/jadujoel/web-audio-clip-node.git"
21
+ },
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/lib.d.ts",
25
+ "import": "./dist/lib.js"
26
+ },
27
+ "./react": {
28
+ "types": "./dist/lib-react.d.ts",
29
+ "import": "./dist/lib-react.js"
30
+ },
31
+ "./processor": "./dist/processor.js",
32
+ "./styles.css": "./dist/styles.css"
33
+ },
34
+ "main": "./dist/lib.js",
35
+ "types": "./dist/lib.d.ts",
36
+ "files": [
37
+ "dist",
38
+ "README.md",
39
+ "LICENSE"
40
+ ],
41
+ "sideEffects": false,
42
+ "scripts": {
43
+ "build": "bun build.ts",
44
+ "build:lib": "bun build.ts --lib",
45
+ "dev": "bun serve.ts",
46
+ "lint": "biome check",
47
+ "test": "bun test",
48
+ "typecheck": "tsc --noEmit",
49
+ "validate": "bun run build && bun run lint && bun run typecheck && bun test",
50
+ "prepublishOnly": "bun run build:lib"
51
+ },
52
+ "peerDependencies": {
53
+ "react": ">=18",
54
+ "react-dom": ">=18",
55
+ "zustand": ">=4"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "react": {
59
+ "optional": true
60
+ },
61
+ "react-dom": {
62
+ "optional": true
63
+ },
64
+ "zustand": {
65
+ "optional": true
66
+ }
67
+ },
68
+ "devDependencies": {
69
+ "@biomejs/biome": "2.4.11",
70
+ "@testing-library/dom": "10.4.1",
71
+ "@testing-library/react": "16.3.2",
72
+ "@types/react": "19.2.14",
73
+ "@types/react-dom": "19.2.3",
74
+ "bun-types": "1.3.12",
75
+ "happy-dom": "20.8.9",
76
+ "isomorphic-web-audio-api": "1.0.2",
77
+ "react": "19.2.5",
78
+ "react-dom": "19.2.5",
79
+ "zustand": "5.0.12"
80
+ },
81
+ "publishConfig": {
82
+ "access": "public"
83
+ },
84
+ "patchedDependencies": {
85
+ "node-web-audio-api@1.0.9": "patches/node-web-audio-api@1.0.9.patch"
86
+ }
87
+ }