write_drum_grid
Replace existing drum notes with patterns from an ASCII grid, where each line defines a 16th-step sequence for an instrument.
Instructions
Write drums from an ASCII grid (16th-note steps). REPLACES existing notes.
grid: one line per instrument: "name: pattern" where pattern chars are 'X' (accent, vel 105), 'x' (normal, 85), 'o' (soft, 55), '.' or '-' (rest). Line length = number of 16th steps (16 = one 4/4 bar; 32 = two bars...). Instruments: kick snare rim clap chat phat ohat ltom mtom htom crash ride perc shaker, or a raw MIDI number ("36: x...").
Example (one bar of lofi): kick: X..x......X..... snare: ....x.......x... chat: x.o.x.o.x.o.x.o.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | Yes | ||
| swing | No | ||
| clip_index | Yes | ||
| track_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |