|
|
@@ -33,9 +33,16 @@ Implemented a comprehensive gamepad mapping solution to address vanilla Gamepad
|
|
|
## Current Understanding
|
|
|
- Target: Gamepad-controlled groovebox/DAW
|
|
|
- Core APIs: Web Gamepad, Web Audio, Web MIDI
|
|
|
-- Environment: Browser-based, no server required
|
|
|
+- Environment: Browser-based with Vite dev server
|
|
|
- Focus: Real-time performance and low latency
|
|
|
|
|
|
+## Development Server Requirements
|
|
|
+**CRITICAL: Always use `npm run dev` to start the development server**
|
|
|
+- **NEVER use `open index.html`** - this will fail due to CORS and module resolution issues
|
|
|
+- Vite dev server is required for ES6 modules, hot reloading, and proper web API access
|
|
|
+- Development URL: typically `http://localhost:5173`
|
|
|
+- Audio context requires user interaction, which the dev server handles properly
|
|
|
+
|
|
|
## Technical Plan Summary
|
|
|
**Selected Stack:**
|
|
|
- **Audio**: Tone.js + Audio Worklets for synthesis and effects
|