sonda/web/package.json
tgiachi 1d19e014a3 feat(web): choose how the player draws the sound: bars, oscilloscope, Milkdrop
Settings has one choice, kept on the device, in place of the spectrogram switch: Spectrogram, Bars, Oscilloscope, Milkdrop or None. Whoever had turned the spectrogram off stays on None.

- Bars: the classic spectrum, with a cap on each bar that waits and falls.
- Oscilloscope: the wave of the sound as it plays.
- Milkdrop: butterchurn and its presets fill the background of the full-screen player behind a veil. They are loaded only when chosen, change by themselves every 25 seconds or with a button, and give way to the spectrogram where WebGL is missing or the system asks for less motion.
- The bar of the player keeps a small picture; for Milkdrop it is the spectrogram.
- The analyser also hands over the wave and the audio node.
2026-11-13 21:32:10 +01:00

48 lines
1.3 KiB
JSON

{
"name": "sonda-web",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "oxlint",
"preview": "vite preview",
"test": "vitest run",
"gen:api": "node scripts/gen-api.mjs"
},
"dependencies": {
"@base-ui/react": "^1.9.0",
"@fontsource/figtree": "^5.3.0",
"@tanstack/react-query": "^5.107.1",
"butterchurn": "^2.6.7",
"butterchurn-presets": "^2.4.7",
"class-variance-authority": "^0.7.1",
"cn": "^0.5.2",
"i18next": "^27.1.1",
"lucide-react": "^1.72.0",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-i18next": "^18.0.1",
"react-router-dom": "^7.18.5",
"shadcn": "^4.23.0",
"tw-animate-css": "^1.4.0",
"zustand": "^5.1.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.5",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.10",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"jsdom": "^31.0.0",
"oxlint": "^1.90.0",
"tailwindcss": "^4.3.5",
"typescript": "~7.0.2",
"vite": "^8.3.6",
"vitest": "^5.1.0"
}
}