Set song
set_songDefine a song arrangement by sequencing scenes, each played for a set number of bars, with optional looping; an empty list clears it and a Clock is required to count bars.
Instructions
Write the song: scenes played one after another, each for a number of bars (e.g. intro 4, verse 8, chorus 8, break 4, chorus 8). Up to 64 lines; an empty list removes the song. "loop": start again at the end (default true; otherwise the clocks stop). Needs a Clock in the patch to count bars.
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": {
"lines": "<lines>"
},
"name": "set_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| lines | Yes |