Command line
drums map show
Show the project drum map (part-type → pitch overrides)
drums map set
Set drum map entries (merged), e.g. snare=40 hi_hat=42
Drum map entries like snare=40 hi_hat=42 (keys: bd, snare, hi_hat, hi_hat_plus, percussion, crash, fill, roll, drums)
drums map clear
Clear the drum map, or only the named part keys
drums retarget
Re-resolve drum pitches against current kits and remap written notes (kit-swap fixer)
MCP tools
get_drum_map
Show the project’s drum map: explicit drum-part→pitch overrides used as the first rung of drum-pitch resolution. Empty map = fully automatic (pad names, then GM).
Path to the .vibrai file (defaults to <current-directory-name>.vibrai in the working directory when omitted)
set_drum_map
Set drum map entries (merged into the existing map) like [“snare=40”,“hi_hat=42”]. Keys are drum part types (bd, snare, hi_hat, hi_hat_plus, percussion, crash, fill, roll, drums); pitches 0-127. Mapped pitches win over pad-name matching at generate time; run retarget_drums to move already-written notes.
Path to the .vibrai file (defaults to <current-directory-name>.vibrai in the working directory when omitted)
clear_drum_map
Clear the project drum map entirely, or only the named drum part keys (e.g. [“snare”]).
Path to the .vibrai file (defaults to <current-directory-name>.vibrai in the working directory when omitted)
retarget_drums
Re-resolve every drum part’s pitch against the CURRENT kits (drum map → pad names → GM → snap) and remap already-written notes from the last-generated pitch to the new one — session and arrangement clips, server-side. Run after swapping a kit. dry_run previews without writing. Tracks with no recorded pitch (never generated with this feature) are skipped with a warning; use remap_pitch for those.
Path to the .vibrai file (defaults to <current-directory-name>.vibrai in the working directory when omitted)
Optional track handles from list_tracks, e.g. [“trk_42”], to limit the retarget. Copy verbatim.