Set the loop
set_loopSets the loop region and turns looping on or off in a Lathe project. Specify a 1-based bar range to loop, or disable looping while keeping the saved region.
Instructions
Sets the loop region and turns looping on, or turns it off. The loop is saved with the project, like moving the loop brackets in Lathe. Bars are 1-based: from_bar 1 to_bar 5 loops the first four bars.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | false turns the loop off (the region is kept). Default true | |
| to_bar | No | Loop end: the bar it jumps back from | |
| from_bar | No | Loop start (1-based) |