Write step sequencer (drum pattern)
fl_set_step_gridSets a channel's step-sequencer steps in the current pattern, turning exactly the specified steps on and all others off; changes can be rolled back.
Instructions
Set a channel's step-sequencer steps in the CURRENT pattern: exactly the given steps on, the rest of 0..length-1 off. Snapshot, read back, undo with fl_rollback_last_change.
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": {
"channel": "<channel>"
},
"name": "fl_set_step_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Or: step indexes that are on (0 = first 1/16). | |
| length | No | Steps to write; all others in range are turned off. | |
| channel | Yes | Channel-rack channel index. | |
| pattern | No | Steps as text, e.g. 'x...x...x...x...' (four on the floor); 'x' or '1' = on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||