r/linuxaudio • • 4d ago

I built a free virtual session drummer plug-in that works in any DAW (VST3/CLAP, Mac/Win/Linux) with Claude Code

I wanted something like Logic's Drummer that I could use outside Logic, so I built one with Claude Code.

You pick a drummer (there are 19 across 14 styles, and my default is a heavy grunge one), lay out your song sections, and drag a dot on an XY pad between simple/complex and soft/loud. It follows your DAW's tempo and plays a part with fills, ghost notes, crashes into

choruses and a stop at the end.

It ships as VST3 and CLAP plug-ins, as a standalone app, and as a MIDI exporter for DAWs that won't load it. A real recorded kit is built in (130 hits from the Salamander Drumkit, CC BY-SA), so it works the moment you install it.

How the build went:

- It's Rust, using nih-plug for the plug-in side and egui for the interface. The app and plug-in share the same code.

- Claude cross-compiled the Mac and Windows versions from my Linux box in containers, so I never touched a Mac. I built that version for a friend who uses Ableton on a Mac.

- The fiddliest part was Linux packaging. Flatpak DAWs ship an older glibc and refused the first plug-in build, so we rebuilt it against an older Debian.

- The grooves are invented from scratch. I described how a drummer should play and Claude turned that into pattern rules.

Free and open source (GPL): https://github.com/liamhiggins2011/session-drummer/releases/latest

The Mac and Windows builds haven't been tried on real hardware yet, so reports from those systems are very welcome. I'd also like to hear whether it sounds like a person or a drum machine to you.

0 Upvotes

19 comments sorted by

8

u/RatherNott 4d ago

 Just a heads up on AI that many aren't aware of: 

AI data centers are being constructed at an alarming rate, and there are already 8 billion prompts per day, with billions more planned and on the way.

The effect this has on the climate when we are already so close to irreversible tipping points is often unknown by AI users.

https://m.youtube.com/watch?v=5p426fSlYH4

https://www.theguardian.com/environment/ng-interactive/2026/oct/22/finland-google-felling-trees-datacentre

Using it also contributes to a dystopic surveilence state.

https://m.youtube.com/watch?v=5lYsO4k7OIY   

-7

u/Altruistic_Pen_9013 4d ago

I'm aware are you?

4

u/mistahspecs 4d ago

Wow damn you destroyed him with that fire comeback. The type of genius creativity that could only come from someone who needs Claude to make their "grooves"

-2

u/Altruistic_Pen_9013 4d ago

Spend your time on getting these data centers banned, go to local town halls.. Not ai shaming me.

3

u/mistahspecs 4d ago

Oh my main fight is trying to keep formerly great online spaces at least somewhat free of bottom of the barrel trash...something you're directly a part of 🗑️

-1

u/Altruistic_Pen_9013 4d ago

Make the barrel for the trash to go.

3

u/mistahspecs 4d ago

You already posted it to those slop barrels, but still felt the need to post it here. So really, the only thing left is to tell you how unwelcome you are.

If it wasn't so annoying, it would almost be adorable how proud of this you are. Like a kid's macaroni art (except they actually made something)

3

u/jmantra623 4d ago

So you cross compiled it for Mac and Windows but didn't bother to test on those platforms before releasing?

0

u/Altruistic_Pen_9013 4d ago

Looking for people to help and collaborate with on this project. Let me know if your interested

3

u/StudioJuan 2d ago edited 2d ago

This looks heavily inspired by Logic Pro's Session Drummer, with extra added features. Even the color palette is the same!!! I like the idea! Not interested in the built-in sounds, but as a MIDI drums "realistic performance" generator, it looks sick. I think you should focus on this becoming more of a MIDI FX plugin. If you added a MIDI mapping preset menu covering all known Drum VSTis` mappings (Kontakt: Mixwave, GGD, etc + ADD2, EZDrummer/Superior Drummer, Just Add Drums, RS Drums, MODO DRUM, etc), it would be the perfect companion tool for realistic MIDI drum generation (together with whichever drum library/instrument you chose for the actual drum sounds).

Articulation controls via MIDI CC could be added to trigger different parts (and their patterns): Intro, chorus, verse, etc., + an articulation toggle for breaks/transitions. It would be like open-sourcing and improving Logic Pro's Session Drummer's engine, while making it possible to work in tandem with any independent drum VST/library available in the market.

Oh, and please add AU plugin format for macOS, if possible!!!

If i can help with beta testing or feedback, just let me know. I have access to all available macOS DAWs (Cubase, Logic, Ableton, Reaper, Bitwig, tada tada tada)

1

u/Altruistic_Pen_9013 2d ago

1

u/Altruistic_Pen_9013 2d ago

i added au for you.

1

u/StudioJuan 2d ago edited 2d ago

Ok! I couldn't wait, so I tested the plugin for an hour or so. More feedback incoming:

1- by "MIDI FX" plugin, what I meant was the MIDI data version of every plugin standard, as follows:

FormatMIDI-Only / MIDI-Processing TypeHost EcosystemHow It Works
AU (Audio Units)AU MIDI Processor (aumi)Logic Pro, MainStage, GarageBand (macOS/iOS)Lives in a dedicated MIDI FX slot above the instrument slot and processes/generates MIDI in real time before audio synthesis.
VST3VST3 Event / Note FX (MIDI-capable VST3)Cubase, Studio One, Ableton Live, Bitwig, REAPERUses MIDI/Event I/O buses (often alongside dummy audio buses for host compatibility) to pass MIDI to downstream plugins.
VST2 (Legacy)VST MIDI PluginsOlder hosts & REAPERDedicated MIDI-only plugins that routed MIDI directly from slot to slot without needing audio channels.
CLAPCLAP Note Effects (note-effect)Bitwig Studio, REAPER, Studio OneNative first-class note/MIDI processing architecture with dedicated note ports and per-note expression.
AAXAAX MIDI PluginsPro ToolsReal-time MIDI processors inserted directly onto MIDI and Instrument tracks before the virtual instrument.
Max for LiveMax MIDI Effect (.amxd)Ableton LiveBuilt specifically to sit ahead of instruments in Live's device chain to transform or generate MIDI data.
JSFXJSFX MIDI PluginsREAPERPlain-text scripted plugins that natively read, modify, and output MIDI anywhere in an FX chain.

These act as MIDI data modifiers/translators, and do not generate sound/audio at all. The good thing about this is that you can (in theory) insert an instrument plugin in that same MIDI/instrument track, and it would directly receive the MIDI data from Session Drummer. This would be interesting if you ever thought of including mapping presets, as I stated in my first comment. In Logic Pro, you can even select the MIDI/instrument track to record MIDI data AFTER going through MIDI FX plugins, which is pretty convenient to capture your plugin's MIDI output to the piano roll, and then feed it into the instrument, all in one place, and in the same track (no need for extra export/import steps).

2. I'd be great if we could manually alter/edit the rhythm patterns and hits in the section sequencer view, similar to Logic's Drummer: by clicking, we swap from nothing -> soft hit -> hard hit cyclically, as a broad guide, leaving the final/more detailed dynamic variations to the engine and the slider values.
Page navigation (forward/back) controls would be great inside sections to move between bar numbers to see what's going on in each one (and edit whatever's necessary. For now you can only see by playing the whole section in a loop and stopping playback at the right time.

3. I think there's a bug with the CLOSE-OPEN Hi-Hat slider, seems to have no effect on HH "open-ness" at all.

1

u/StudioJuan 2d ago

That was fast!! Many other interesting updates too!! Will test it tomorrow and let you know how it goes!

1

u/Specialist-Dog-501 2d ago

Pls let us know how the first tests have run then. The distrust in /linuxaudio is at least partially justified by the fact, that many of this "releasers" don't even bother to make some basic alpha testing on the target platforms they go for and then it can be even a risk for the tester's platform. If it has undergone some basic testing, and it's really about beta-, not alpha testing - cool! Linux could really need some drummer stuff, what we have is limited.

2

u/Altruistic_Pen_9013 2d ago

Been tested on all as of today. Your all set.

13

u/mistahspecs 4d ago edited 4d ago

this sub is such a dumpster now. Such a shame to, it used to be so cool