This directory contains custom samples in dirt-samples-compatible format.
Organize samples into folders by type. Each folder becomes a sample name in Strudel:
samples/
├── strudel.json (required - defines sample mappings)
├── kick/
│ ├── 1.wav
│ ├── 2.wav
│ └── 3.wav
├── snare/
│ ├── 1.wav
│ └── 2.wav
└── bass/
├── 1.wav
└── 2.wav
Once added to a GitHub repo, load it via:
- Sample Repository Manager → Add Repository
- URL:
github:yourusername/djmaxx-samples(or your repo name)
Or locally during development:
- Use
samples('http://localhost:5173/samples/strudel.json')
- Create a folder with the sample name (e.g.,
kick/) - Add WAV files numbered 1.wav, 2.wav, etc.
- Update
strudel.jsonto include the new sample - Commit and push to GitHub (or use locally)
- Lowercase - Use lowercase folder names (kick, not Kick)
- Short names - Easy to type in code (bd, sd, hh)
- Descriptive - Clear what the sound is (clap, not clp)
- WAV files - 16-bit or 24-bit PCM recommended
- Sample rate - 44.1kHz or 48kHz
- Mono or Stereo - Both work
- Size - Keep individual files under 1MB for web performance
Add your license information here. Consider CC0 or CC-BY for sharing.