A small browser-based lo-fi chord and drum pattern generator built with Vite. It uses Tone.js for audio synthesis/sequencing and a rolling-number UI control for selecting chord degrees.
- Play/pause transport with BPM control.
- Select musical key and chord degrees; preview/apply chord progressions.
- Simple kick/snare step sequencer with adjustable subdivision.
- Multiple synth presets (Tone Synths and a Rhodes sampler).
- Node.js 18+ and npm.
npm installnpm run devThen open the printed local URL (usually http://localhost:5173).
Note: Browsers require a user gesture to unlock audio. Click anywhere on the page to start audio.
npm run buildnpm run previewThis project uses Vite environment variables for optional configuration flags. Create a .env file from .env.example and adjust values as needed.
Example:
VITE_DEBUG=false
VITE_FEATURE_ROLLER_MOMENTUM=true
Use in code with import.meta.env.VITE_DEBUG etc.
See docs/architecture.md for current architecture notes and docs/plan.md for the step-by-step improvement plan.
- Follow coding and style guidelines in
.junie/guidelines.md. - Use clear, imperative commit messages.
TBD (see task list for adding LICENSE and related documents).