map_drum_kit
Identify a drum kit's sounds by playing each key, then save the layout as a drum map so patterns and grooves land on the right notes. Re-map after changing kits.
Instructions
Works out a drum kit by ear: plays every key in the range through the track's instrument (offline, in a temporary item that's removed afterwards), measures each sound and identifies it (kick, snare, clap, rim, closed/open hat, crash, ride, toms, shaker, cowbell, percussion). Saves the layout as a drum map so add_drum_pattern and genre grooves land on the right sounds. Use it whenever a kit's layout is unknown, instead of asking the user. Kits inside one plugin can differ: map again after changing kit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | No | Lowest key to try | C0 |
| high | No | Highest key to try | C6 |
| save | No | Save the result as this instrument's drum map | |
| track | Yes | The drum track (number or name) | |
| channel | No | MIDI channel to play on (most kits listen on all; GM kits use 10) | |
| overwrite | No | Replace a drum map you saved for this instrument before | |
| per_channel | No | For kits that put each drum on its own MIDI channel (SILA, drum machines, multitimbral setups): play one note (`low`, default C4) on channels 1-16 instead of a range of keys |