Drum generator

Just wanted to share a fun project I’ve been working on. I needed a “virtual drummer” that could evolve live without repeating the same loop forever, so I built DrumGen Ultimate.

I’m not a C expert, so I used AI (Gemini) to help write the code and refine the logic. It turned out to be a pretty solid jam partner.
It generates MIDI drum patterns on the fly based on a few knobs:
Style: Selects the genre (Rock, Techno, House, DnB, etc.).
Density: This is the cool part – turn it up to add ghost notes and fills, turn it down to simplify the beat.
Groove: Added some Swing and Humanize algorithms.
Live Mutes: You can mute Kick/Snare/Hats/Percs individually for drops.

I don’t know how to do a GUI. Maybe it could be useful. You should use AV Linux Black Pearl.
It’s the first plugin i’ve developped. It was really hard for me !
This is the very first plugin I have ever developed. It was really hard work and a steep learning curve for me, so I hope you find it useful!
It works on Mod Dwarf. I don’t know for Mod Duo.

Here’s the GitHub link : https://github.com/remy-live/drumgen
Google Drive : https://drive.google.com/drive/folders/18aHm5w3OL3w2Hq5ba01ftdEGRyXXh3CA?usp=sharing

12 Likes

interesting, could you do a little vid to demo it?

How do you install it on the Dwarf? I’d like to test it out! :smiley:

Sorry for the delay.
Here’s the code to transfer the plugin (I’m using a Mac) :
scp -rp -O yourpath root@$192.168.51.1:/root/.lv2/

I can’t make a video but i’ve made a website to help me (i’m not good at all in C but better in Javascript)
You can test it here : DrumGen

2 Likes

how cool is that! If it owudl have an option to replace the samples and export to wav or mp3, i can use it as templatign tool for my songwriting :smiley:

1 Like

I still didn’t try the plugin on the MOD itself, but for the UI, something like what you got here should do a perfect job.

Considering that I still didn’t test it, I find the idea great! And this can be a really cool plugin.

I’m 100% with @LievenDV here. Percursions are always something that I find myself making 10 thousand little variation tracks when I’m trying to write some music.