mcp_opendaw_create_drum_pattern
Create drum beats using compact step-sequencer notation: define kick, snare, hihat, clap, or perc lanes with characters for hits, soft hits, accents, and rests in a single JSON call.
Instructions
Create a drum beat from compact step-sequencer notation — one call replaces 10-20 note creations.
pattern: JSON object with drum lanes, each lane is a string where each char is a 16th-note step:
'x' = hit (velocity 0.9)
'o' = soft hit (velocity 0.5)
'.' = rest
'X' = accent (velocity 1.0)
Lanes: kick, snare, hihat, clap, perc (each optional).
Example (4/4 house beat): '{"kick":"x...x...x...x...","snare":"....x.......x...","hihat":"....o...o...o..."}'
unit_index: AU index with a note track (-1 = find first AU with note tracks).
Returns the number of notes created per lane.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| unit_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |