The dawdle horn is a Digital Audio Workstation / Groovebox / musical instrument that's controlled via a gamepad. Probably uses the web Gamepad API, along with Web MIDI and Web Audio APIs.

Billie Hilton d1c8bc49ce use joystick for scale 4 tháng trước cách đây
memory-bank d1c8bc49ce use joystick for scale 4 tháng trước cách đây
src d1c8bc49ce use joystick for scale 4 tháng trước cách đây
.gitignore 1ae817c4f6 Initial commit 4 tháng trước cách đây
GAMEPAD_MAPPING.md b9f75eadf9 refactor gamepad code 4 tháng trước cách đây
LICENSE 1ae817c4f6 Initial commit 4 tháng trước cách đây
README.md cca080c91c docs: Add development server instructions to README and memory bank 4 tháng trước cách đây
index.html 320ae0dbb8 dynamic calibration 4 tháng trước cách đây
package-lock.json 20f1437dc6 Setup project 4 tháng trước cách đây
package.json 20f1437dc6 Setup project 4 tháng trước cách đây

README.md

dawdlehorn

The dawdle horn is a Digital Audio Workstation / Groovebox / musical instrument that's controlled via a gamepad. Uses the web Gamepad API, along with Web MIDI and Web Audio APIs.

Development

Important: Always use the development server, not direct file opening

To run the development server:

npm run dev

This starts the Vite development server which is required for:

  • ES6 module imports to work properly
  • Hot reloading during development
  • Proper CORS handling for web APIs
  • Audio context initialization (requires user interaction)

Do NOT use open index.html - this will not work properly due to CORS restrictions and missing module resolution.

Getting Started

  1. Install dependencies:

    npm install
    
  2. Start the development server:

    npm run dev
    
  3. Open your browser to the URL shown in the terminal (typically http://localhost:5173)

  4. Connect a gamepad and start making music!