/reaper-daemon:guitar-apparatusfrom Reaper Daemon
Renders humanized guitar and bass MIDI (palm mutes, power chords, instrument keyswitches) from riff notation and inserts it onto REAPER tracks. Use when the user asks for a guitar or bass part, a riff played on a virtual guitar or bass, or a whole rhythm section jam with shred or band.
Ships in Reaper Daemon. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The guitar-side counterpart to drum-apparatus. Renders believable, human-feeling
guitar and bass MIDI (real instrument keyswitches, palm mutes, power chords) and
inserts it onto REAPER tracks through the same bridge write path the drum groove
uses (insert_midi_file). Maps confirmed against the instruments' own manuals and
David's live UI (see docs/instruments.md).
argent_e roots the riff at E (28) so guitar and bass lock on the same
low note; nolly_e sits the bass at the same E.guitargen/maps.py) — data-driven, like kit
maps: argent_e / argent_csharp (guitar), nolly_e / nolly_csharp (bass).
The _csharp pair roots the riff on Argent's actual open low string (MIDI 25);
the Nolly floors at E0, so its C# partner takes the root an octave up at 37.guitargen/riffs.py) — one 16-char bar per line:
.=rest x=muted chug X=accented (power chord) o=let-ring root (power
chord) g=ghost 4=fourth 5=fifth b=tritone 7=min7 h=octave (let-ring).
Let-ring notes hold until the next onset. So do chugs, capped at
MUTE_CARRY (2 steps): under the palm the string keeps sounding between picks,
and that body is what carries one chug into the next. Only a ghost is short.
Connection cells — what stops a riff sounding stabby: _ TIES the previous
note through this step (real note values, held over the barline, instead of a
row of equal 16ths), and ~ SLIDES into the next note (fires Argent's Slide
keyswitch and forces the overlap). Write phrases, not bars.
CHORD cells — uppercase note names, read as a chord chart in the key of E:
E=0 F=F#(+2) G=+3 A=+5 B=+7 C=+8 D=+10. Each fires Power Chord
Sustain, which Argent voices root+5th+octave from the one note, so a section
can actually MOVE harmonically instead of pedaling the open string. Case
matters — B/b, F/f, G/g, C/c are different tokens; uppercase
is the chord, lowercase is a single note.
Lead scale tones (single ringing notes, for melodies over those chords):
s=F#(+2) 3=G(+3) a=A(+5) 5=B(+7) 6=C(+8) 7=D(+10) h=E(+12), with
o as E. Lift a lead into register with --low-string 52 (E3) rather than
inventing octave tokens — the same alphabet then reads as the E-minor scale an
octave up.guitargen/perform.py) — deterministic musical contour
drives dynamics (downbeats / pushes accent, ghosts sit back), RNG is only
garnish, and a golden no-repeat rule keeps consecutive chugs off one velocity —
the same taste model as the drum humanizer. Articulation is set by keyswitch:
a fast root chug is Mute (single note), a root accent/hold voices a power
chord (Argent auto-voices it), and melodic non-root notes stay single so a
lead line reads as a line. Double-tracking is two performances, not a copy:
same riff, different --seed on argent-l vs argent-r (live-proven width).
Legato is deliberate, not accidental: a ringing note is held ~30 ticks PAST
the next attack so Shreddage slurs (hammer-on/pull-off) instead of re-picking,
the slurred note lands softer because it was fretted rather than struck, and
anything not meant to slur is clamped to clear the next onset so micro-timing
can never leave a flam. Dynamics also arc across a 4-bar phrase (phrase_bars),
not just within each bar.guitargen/smf.py) — notes + control change (CC is
ready for mod-wheel maps; Argent does not need it).Prefer the REAPER MCP tools when they're connected (insert_riff, cut_band,
humanize_take). The reaperd.py commands below run from the Reaper Daemon
folder, the clone that REAPER loads the bridge from.
# THE one-liner: lay down / re-cut the whole 4-track jam (2 guitars + bass +
# drums), replacing whatever is on those tracks. Re-run it after any riff edit.
python reaperd.py band
# custom riff + drum DSL, other tracks/tempo:
python reaperd.py band --bars-file myriff.txt --dsl mydrums.dsl --tempo 138
band defaults to the session tracks (argent-l/argent-r/nolly-bass-library/
rs-drums-monarch), the demo riff, the bundled examples/jam-e.dsl drums, seeds
101/202/303, and --replace on. It's the smooth path — one command instead of
clear+insert four times.
Single-part commands (what band is built from):
# one part at a time; --replace clears the track region first
python reaperd.py shred --track argent-l --part guitar --seed 101 --replace
python reaperd.py shred --track nolly-bass-library --part bass --seed 303 --replace
python reaperd.py groove examples/jam-e.dsl --track rs-drums-monarch --replace
# a custom riff — one bar per line; spaces inside a bar are visual only
python reaperd.py shred --track argent-l --bars-file myriff.txt --position 0.0
# a general low-string probe for a NEW/unknown instrument
python reaperd.py shred --track argent-l --riff probe
# override the riff root once (e.g. try the low C# string)
python reaperd.py shred --track argent-l --seed 101 --low-string 25
Standalone (no REAPER): python skills/guitar-apparatus/shredgen.py --riff demo --part guitar --seed 101 --out out.mid.
Root note = low_string. Every interval in a riff is relative to the map's
low_string (the riff root, E=28 here). To move the key, change that one value
or pass --low-string. For a brand-new instrument whose range is unknown, the
probe riff plays sustained candidates so the floor can be found by ear.
REAPER imports MIDI by reference on this build. The inserted item points at
the .mid file on disk — it is not copied into the project. So shred writes
renders to rendered-midi/ (gitignored) and keeps them; deleting the file
empties the take (proven live). The .mid is the take's source of truth. If a
project is moved, its rendered-midi/ goes with it.
A part is not done until it is heard in REAPER. After band/shred, read it
back with get_midi_notes (structure) and audition it (feel). Trust the ears
over the plan — re-cut the riff string, re-run band.
Note: get_midi_notes returns each note's position as ppq (with
ppq_per_quarter), not tick — a common trip-up, since the engine and tests
speak tick. Read n["ppq"], and a track with more than one item needs an
explicit item_index (else AMBIGUOUS_ITEM).
A distorted high-gain tone flattens dynamics (the RMS envelope pins near max whether a note is muted or open), and it masks pitch movement to the ear. If a riff "sounds the same," the fix is usually musical — move the notes (pitch), not just the velocity/articulation.
"Stabby" / "pick-scrapey" is a note-LENGTH problem, not a velocity one
(David, 2026-08-27). Do the arithmetic in milliseconds before reaching for
dynamics: at 188 BPM a 16th is 80ms, so a chug written as one step at the old
ART_LEN 0.55 was a 44ms note — a pick transient with silence behind it and no
note under it. A palm mute has to still be sounding when the next one is picked;
that continuous body IS what "carries each chug into the next." Chugs now carry
to the next onset at 0.95, and the legato clamp keeps them one tick short so a
same-pitch chug re-picks instead of flamming. The second half of "scrapey" is
that on Argent the Mute keyswitch's velocity is the mute DEPTH and low is the
scrape-like end — a low velocity floor puts part of every riff in the scrape
zone. Raising velocity makes a chug less muted, so it is never the fix for
"give me more palm mute"; length is.
band renders ONE riff double-tracked across both guitars. A chorus usually is
not that shape — chords under one part of it, a harmonised twin lead under
another — so build it as separate shred-style inserts instead. Two rules:
delete_items_in_range deletes every item that OVERLAPS the range, not just
the ones starting inside it (pos < end and pos+len > start). An item that ends
exactly ON the bar line you are clearing from is one float ULP away from
counting — clearing from bar 9 ate the previous section's bars 1-8 drum item,
whose end and bar 9 are the same number. Start the clear a few ms AFTER the bar
line: the section before ends at that line and stays safe, and anything starting
on the line still overlaps and is still replaced.
Position inserts with the bridge's {"type": "bar", "bar": N} rather than a
float in seconds — it lands on REAPER's own bar line with no drift.
conftest.py (opens in a new tab)docs/instruments.md (opens in a new tab)examples/jam-e.dsl (opens in a new tab)guitargen/__init__.py (opens in a new tab)guitargen/maps.py (opens in a new tab)guitargen/perform.py (opens in a new tab)guitargen/riffs.py (opens in a new tab)guitargen/smf.py (opens in a new tab)shredgen.py (opens in a new tab)tests/test_guitargen.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
midi-generation, virtual-instrument, reaper, riff-notation, shreddage, nolly-bass
Generated from the plugin's indexed repository (wretcher207/reaper-daemon) — no native marketplace selected
npx claudepluginhub p/wretcher207-reaper-daemon7 skills in this plugin
/arrangement-midiCompose complementary MIDI for an existing REAPER arrangement using a loaded virtual instrument. Use for pads, ominous textures, evolving synths, pulses, or melodic layers over marked sections, including Kontakt libraries and other synths. Adapts to the actual instrument and sounding music; does not create a new scratch session./composing-workflowCompose and write full song parts (guitars, bass, drums, atmosphere) into a live REAPER session through Reaper Daemon with sampled virtual instruments. Use before writing any guitar/bass/drum/pad MIDI for a song, choosing keyswitch articulations (Shreddage Argent, Umansky Bass), measuring what a patch actually sounds like, building a varied cymbal layer, or inserting and verifying sections. Covers look-measure-plan-build-verify and the lessons that made parts sound stabby, out of tune or static./drum-apparatusProgram heavy / death-metal drums into the user's live REAPER session the way David does it — kicks built off the guitar riff first, snare by his call, cymbals by feel, spicy fills, humanized at placement time. Use when the user asks for a drum groove, beat, blast, breakdown, fill, or a multi-section drum part, says "give me a <subgenre> groove" / "program drums for this riff", or asks to analyze/profile a guitar track to plan drums (open vs muted, tremolo, breakdowns, section map). Drops generated MIDI into REAPER via the agent bridge./drum-humanizeHumanize existing REAPER drum MIDI with phrase-aware dynamics and optional micro-timing. Use for flat programmed drums, mechanical fills, or extending a user's humanized example. Preserve authored feel and explicit velocity-only scope; use the shared drum-apparatus engine./reaper-setupInstall, connect or troubleshoot Reaper Daemon. Use when the user asks to set up Reaper Daemon or connect Claude to REAPER, when get_status reports NOT_INSTALLED, WRONG_FOLDER, BRIDGE_NEVER_LOADED or BRIDGE_NOT_RESPONDING, when the reaper MCP tools are missing, or before the first REAPER task in a session that has never reached the bridge./song-plannerPlan a whole song (form, bars, tempo, key or tuning, drum feel, riffs, extra layers) as a song sheet, get the person's approval, then draft drums, guitars, bass and layers into a new REAPER project tab. Use when someone wants a song started from a written brief, from a riff they played, or from the structure of a reference song.Other plugins' skills for the same job