@kano/stem-daw 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 (67) hide show
  1. package/README.md +253 -0
  2. package/dist/chat-actions-54Z6URC4.js +7 -0
  3. package/dist/chat-actions-54Z6URC4.js.map +1 -0
  4. package/dist/chunk-56PWIP7O.js +1029 -0
  5. package/dist/chunk-56PWIP7O.js.map +1 -0
  6. package/dist/chunk-AAVC7KUW.js +145 -0
  7. package/dist/chunk-AAVC7KUW.js.map +1 -0
  8. package/dist/chunk-KCOOE2OP.js +1764 -0
  9. package/dist/chunk-KCOOE2OP.js.map +1 -0
  10. package/dist/chunk-LO74ZJ4H.js +23923 -0
  11. package/dist/chunk-LO74ZJ4H.js.map +1 -0
  12. package/dist/chunk-OFGZURP6.js +247 -0
  13. package/dist/chunk-OFGZURP6.js.map +1 -0
  14. package/dist/chunk-OYNES5W3.js +3085 -0
  15. package/dist/chunk-OYNES5W3.js.map +1 -0
  16. package/dist/chunk-QQ5NZTHT.js +336 -0
  17. package/dist/chunk-QQ5NZTHT.js.map +1 -0
  18. package/dist/chunk-TBXCZFAY.js +13713 -0
  19. package/dist/chunk-TBXCZFAY.js.map +1 -0
  20. package/dist/chunk-U44X6QP5.js +281 -0
  21. package/dist/chunk-U44X6QP5.js.map +1 -0
  22. package/dist/chunk-UKMELGZL.js +27 -0
  23. package/dist/chunk-UKMELGZL.js.map +1 -0
  24. package/dist/components/DAWView.d.ts +19 -0
  25. package/dist/components/DAWView.js +11 -0
  26. package/dist/components/DAWView.js.map +1 -0
  27. package/dist/daw-controller-BjRWcTol.d.ts +339 -0
  28. package/dist/engine/daw-controller.d.ts +3 -0
  29. package/dist/engine/daw-controller.js +5 -0
  30. package/dist/engine/daw-controller.js.map +1 -0
  31. package/dist/engine/daw-import-stem-fm-config.d.ts +224 -0
  32. package/dist/engine/daw-import-stem-fm-config.js +7 -0
  33. package/dist/engine/daw-import-stem-fm-config.js.map +1 -0
  34. package/dist/fetchStationTracks-SKFT4V3U.js +3 -0
  35. package/dist/fetchStationTracks-SKFT4V3U.js.map +1 -0
  36. package/dist/index.d.ts +308 -0
  37. package/dist/index.js +332 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/interface-DaRj7RkY.d.ts +66 -0
  40. package/dist/interfaces-5ZlG0Y4Y.d.ts +549 -0
  41. package/dist/media-session-XTP6PP7Q.js +3 -0
  42. package/dist/media-session-XTP6PP7Q.js.map +1 -0
  43. package/dist/note-detection-PPLM7R2H.js +148 -0
  44. package/dist/note-detection-PPLM7R2H.js.map +1 -0
  45. package/dist/sampler-audio-B7MBG3YN.js +3 -0
  46. package/dist/sampler-audio-B7MBG3YN.js.map +1 -0
  47. package/dist/sampler-store-QPHANXYP.js +3 -0
  48. package/dist/sampler-store-QPHANXYP.js.map +1 -0
  49. package/dist/services/track-search-api.d.ts +152 -0
  50. package/dist/services/track-search-api.js +4 -0
  51. package/dist/services/track-search-api.js.map +1 -0
  52. package/dist/store/daw-auth-store.d.ts +31 -0
  53. package/dist/store/daw-auth-store.js +3 -0
  54. package/dist/store/daw-auth-store.js.map +1 -0
  55. package/dist/store/daw-session-store.d.ts +255 -0
  56. package/dist/store/daw-session-store.js +3 -0
  57. package/dist/store/daw-session-store.js.map +1 -0
  58. package/dist/vite/index.d.ts +46 -0
  59. package/dist/vite/index.js +94 -0
  60. package/dist/vite/index.js.map +1 -0
  61. package/dist/workers/analysis-worker.js +379 -0
  62. package/dist/workers/buffer-player-processor-202602.lavv8e32-ts.js +1 -0
  63. package/dist/workers/daw-stem-processor.js +228 -0
  64. package/dist/workers/manifest.json +10 -0
  65. package/dist/workers/phase-vocoder3.js +920 -0
  66. package/dist/workers/realtime-pitch-shift-processor.js +2 -0
  67. package/package.json +151 -0
package/package.json ADDED
@@ -0,0 +1,151 @@
1
+ {
2
+ "name": "@kano/stem-daw",
3
+ "version": "0.1.0",
4
+ "description": "Stem DAW UI — React components, controller, and stores for the STEM beat-quantized DAW. Built on top of @kano/stem-web-audio-player.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "private": false,
8
+ "repository": "https://github.com/KanoComputing/stem-studio",
9
+ "author": "Kano",
10
+ "main": "./dist/index.js",
11
+ "module": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "sideEffects": [
14
+ "*.css"
15
+ ],
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ },
21
+ "./components/DAWView": {
22
+ "types": "./dist/components/DAWView.d.ts",
23
+ "import": "./dist/components/DAWView.js"
24
+ },
25
+ "./engine/daw-controller": {
26
+ "types": "./dist/engine/daw-controller.d.ts",
27
+ "import": "./dist/engine/daw-controller.js"
28
+ },
29
+ "./engine/daw-import-stem-fm-config": {
30
+ "types": "./dist/engine/daw-import-stem-fm-config.d.ts",
31
+ "import": "./dist/engine/daw-import-stem-fm-config.js"
32
+ },
33
+ "./services/track-search-api": {
34
+ "types": "./dist/services/track-search-api.d.ts",
35
+ "import": "./dist/services/track-search-api.js"
36
+ },
37
+ "./store/daw-session-store": {
38
+ "types": "./dist/store/daw-session-store.d.ts",
39
+ "import": "./dist/store/daw-session-store.js"
40
+ },
41
+ "./store/daw-auth-store": {
42
+ "types": "./dist/store/daw-auth-store.d.ts",
43
+ "import": "./dist/store/daw-auth-store.js"
44
+ },
45
+ "./vite": {
46
+ "types": "./dist/vite/index.d.ts",
47
+ "import": "./dist/vite/index.js"
48
+ },
49
+ "./workers/*": "./dist/workers/*",
50
+ "./package.json": "./package.json"
51
+ },
52
+ "files": [
53
+ "dist",
54
+ "README.md"
55
+ ],
56
+ "scripts": {
57
+ "build:lib": "rm -rf dist && tsup --config tsup.daw.config.ts && node scripts/copy-daw-workers.mjs",
58
+ "local-publish": "bash scripts/local-publish.sh",
59
+ "watch": "tsup --config tsup.daw.config.ts --watch",
60
+ "prepublishOnly": "yarn build:lib",
61
+ "package": "yarn build:lib && npm pack",
62
+ "release": "npm publish --access public",
63
+ "dev": "concurrently \"vite\" \"node server.cjs\"",
64
+ "build:netlify": "yarn build:react && yarn compress:react",
65
+ "build:daw": "vite build --config vite.config.daw.ts && cp _headers dist-daw/_headers && echo '/* /daw.html 200' > dist-daw/_redirects",
66
+ "build:react": "vite build --mode react && rm -rf dist/WEB_SCRAPING_FOLDER && rm -rf dist/FORMER_SAVED_TRACKS && cp _headers dist/_headers && cp _redirects dist/_redirects",
67
+ "build:react:devtools": "NODE_ENV=development vite build --mode react-devtools && rm -rf dist/WEB_SCRAPING_FOLDER && rm -rf dist/FORMER_SAVED_TRACKS && cp _headers dist/_headers && cp _redirects dist/_redirects",
68
+ "compress:react": "node compress-assets.cjs",
69
+ "ci": "yarn install --frozen-lockfile",
70
+ "test": "vitest run",
71
+ "test:watch": "vitest",
72
+ "typecheck": "yarn tsc --project ./tsconfig-typecheck.json",
73
+ "lint": "eslint 'src/**/*.{ts,tsx}'",
74
+ "format": "prettier --write 'src/**/*.{ts,tsx}'",
75
+ "build:worklet": "node scripts/build-worklet.js 202603.tlM3up1e-ts",
76
+ "build:worklet:serial": "node scripts/build-worklet.js",
77
+ "build:daw-worklet": "node scripts/build-daw-worklet.js",
78
+ "preview": "vite preview"
79
+ },
80
+ "peerDependencies": {
81
+ "react": "^19.0.0",
82
+ "react-dom": "^19.0.0",
83
+ "react-router-dom": "^7.0.0",
84
+ "zustand": "^5.0.0"
85
+ },
86
+ "peerDependenciesMeta": {
87
+ "react": { "optional": false },
88
+ "react-dom": { "optional": false },
89
+ "react-router-dom": { "optional": false },
90
+ "zustand": { "optional": false }
91
+ },
92
+ "dependencies": {
93
+ "@radix-ui/react-collapsible": "^1.1.1",
94
+ "@radix-ui/react-icons": "^1.3.2",
95
+ "@radix-ui/react-label": "^2.1.0",
96
+ "@radix-ui/react-popover": "^1.1.2",
97
+ "@radix-ui/react-slider": "^1.2.1",
98
+ "@radix-ui/react-slot": "^1.1.0",
99
+ "@spotify/basic-pitch": "^1.0.1",
100
+ "@use-gesture/react": "^10.3.1",
101
+ "class-variance-authority": "^0.7.0",
102
+ "classnames": "^2.5.1",
103
+ "clsx": "^2.1.1",
104
+ "d3": "^7.9.0",
105
+ "delta-e": "^0.0.8",
106
+ "derive-zustand": "^0.1.1",
107
+ "framer-motion": "^12.23.26",
108
+ "hls.js": "^1.5.16",
109
+ "is-mobile": "^5.0.0",
110
+ "jszip": "^3.10.1",
111
+ "lodash.debounce": "^4.0.8",
112
+ "lucide-react": "^0.453.0",
113
+ "react-resizable-panels": "^3.0.6",
114
+ "react-virtuoso": "^4.17.0",
115
+ "short-uuid": "^6.0.3",
116
+ "tailwind-merge": "^2.5.4",
117
+ "tailwindcss-animate": "^1.0.7",
118
+ "uuid": "^11.0.2"
119
+ },
120
+ "devDependencies": {
121
+ "@eslint/js": "^9.11.1",
122
+ "@types/d3": "^7.4.3",
123
+ "@types/node": "^22.7.5",
124
+ "@types/react": "^19.2.7",
125
+ "@types/react-dom": "^19.2.3",
126
+ "@types/uuid": "^10.0.0",
127
+ "@typescript-eslint/eslint-plugin": "^8.8.1",
128
+ "@typescript-eslint/parser": "^8.8.1",
129
+ "@vitejs/plugin-react": "^4.0.0",
130
+ "concurrently": "^9.0.1",
131
+ "eslint": "^9.12.0",
132
+ "eslint-config-prettier": "^9.1.0",
133
+ "eslint-plugin-prettier": "^5.2.1",
134
+ "eslint-plugin-react": "^7.37.1",
135
+ "eslint-plugin-react-hooks": "^5.0.0",
136
+ "eslint-plugin-react-refresh": "^0.4.12",
137
+ "globals": "^15.9.0",
138
+ "jsdom": "^29.0.1",
139
+ "prettier": "^3.0.0",
140
+ "react": "^19.2.3",
141
+ "react-dom": "^19.2.3",
142
+ "react-router-dom": "^7",
143
+ "tsup": "^8.3.0",
144
+ "typescript": "^5.0.0",
145
+ "typescript-eslint": "^8.7.0",
146
+ "vite": "^5.0.0",
147
+ "vite-plugin-static-copy": "^2.1.0",
148
+ "vitest": "^4.0.18",
149
+ "zustand": "^5.0.2"
150
+ }
151
+ }