DrumGen is a transport-synced LV2 MIDI drum-pattern generator. It is designed to pair cleanly with lv2/drumkit, defaulting to MIDI channel 10 and the drumkit note layout.
Current implementation status:
- host
time:Positionsync - polyphonic MIDI drum note generation
- genre-biased lane templates with Euclidean variation
- explicit fill motifs layered onto the last bar
- modular DSP internals split into pattern, variation, transport, and state helpers
- exact pattern persistence through LV2 State
- X11/Cairo UI with core controls, action buttons, and grid preview
Flues DrumkitandGMnote-map presets- loop-aware
Varycontrol for gradual pattern evolution
cd lv2/drumgen
cmake -S . -B build
cmake --build build
cmake --install build --prefix ~/.lv2From the repo root:
./install-drumgen.sh- Selectors: Genre, Channel, Kit Map, Bars, Resolution
- Feel: Density, Variation, Fill, Vary, Seed
- Lane Macros: Kick, Backbeat, Hat, Tom, Metal, Perc
- Actions:
Newregenerates the full patternMutatererolls the pattern with the current feel settingsFillrefreshes the last bar more aggressively
Variationstill controls within-pattern rhythmic complexity and Euclidean looseness.Varyruns from0-100%and mutates the pattern across repeated loops: low values make small bar-scale nudges every several bars, while100%fully regenerates every loop.
- Kick
36 - Clap
39 - Snare
40 - Crash
41 - Closed Hat
42 - Low Tom
45 - Open Hat
46 - High Tom
50 - Bash
51 - Cowbell
52 - Clave
53