Overwrite Step Sequence
channel_set_step_sequenceWrites a 0/1 step pattern into a channel's step sequencer starting at step 0, letting you program drum hits or gates while leaving later steps untouched.
Instructions
Overwrite a channel's step-sequencer grid from step 0 using a list of 0/1 values.
Overwrites steps 0..len(steps)-1 while leaving any later steps intact—call
channel_clear_step_sequence first if shortening an existing pattern. Use
gen_emit_drum_pattern_step_seq for preset multi-channel drum grooves, or
piano_roll_add_notes for pitched melodies and chords.
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": {
"index": "<index>",
"steps": "<steps>"
},
"name": "channel_set_step_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | 0-based global Channel Rack index. | |
| steps | Yes | Ordered list of 0 (off) and 1 (on) step flags starting from step 0 (e.g. 16 values for one 4/4 bar). | |
| pattern | No | Optional 1-based pattern index to switch to before writing; omit/None to write into the currently selected pattern. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||