step_clip_add
Add a drum-machine grid clip to a track by defining channels and step patterns, replacing multiple individual MIDI notes with a compact rhythmic sequence.
Instructions
Add a step clip (drum-machine grid) to a track. channels is a list of {midi_note, name?, velocity?} dicts — one per drum row. patterns is a list of pattern dicts: each pattern has rows parallel to channels, where each row has a pattern string of '0'/'1' steps and optional velocities list. step_length is duration of each step in beats (0.25 = 16th notes). Way cleaner than 80 individual MidiClip notes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_id": "<track_id>",
"channels": "<channels>",
"patterns": "<patterns>",
"start_beats": "<start_beats>",
"length_beats": "<length_beats>"
},
"name": "step_clip_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Step Clip | |
| channels | Yes | ||
| patterns | Yes | ||
| track_id | Yes | ||
| start_beats | Yes | ||
| step_length | No | Beats per step (0.25=16th, 0.5=8th, 1.0=quarter) | |
| length_beats | Yes | ||
| repeat_sequence | No |