edit_arrangement
Place patterns on specific bars of a song timeline, writing up to eight channel patterns per bar while leaving other bars unchanged; optionally set a loop or clear the rest first.
Instructions
Places patterns on the timeline. Each bar plays up to 8 patterns at once, on separate channels. Writes whole bars starting at at_bar, leaving other bars alone. Unless a loop is given, the loop then covers the whole song.
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": {
"bars": "<bars>"
},
"name": "edit_arrangement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | One entry per bar, each a list of up to 8 channels holding a pattern index or null. [[0, 2], [1, 2, null, 3]] is two bars. | |
| at_bar | No | Bar to start writing at, 0 by default. | |
| loop_end | No | Bar after the last bar of the loop. | |
| loop_start | No | ||
| replace_all | No | Clears the rest of the timeline first. |