plan_grid_envelope_pattern
Read current Live grid and generate exact on/off Session clip envelope steps for straight or triplet rhythms, including Beat Repeat, without Live edits; rejects misalignment.
Instructions
Read current Live grid and return exact on/off Session clip envelope steps for a straight or triplet rhythm, including Beat Repeat Repeat. No Live edits. Supply the exact native on/off values; set_clip_parameter_envelope validates the destination clip and parameter before any write. Rejects grid/bar misalignment.
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": {
"grid": "<grid>",
"bars": "<bars>",
"activeSteps": "<activeSteps>",
"onValue": "<onValue>",
"offValue": "<offValue>"
},
"name": "plan_grid_envelope_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| grid | Yes | ||
| onValue | Yes | Native parameter value during active steps. | |
| offValue | Yes | Native parameter value during inactive steps. | |
| startBeat | No | Absolute Session clip beat offset; default zero. | |
| activeSteps | Yes | Unique 1-based active step numbers within each bar. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||