delete_range
Deletes notes, rests, grace notes and tuplets in a voice over a bar range or position span; slurs, text and other markings stay unless include_markings is enabled.
Instructions
Delete the notes, rests, grace notes and tuplets of a voice in a range (bars inclusive, or positions [from_pos, to_pos)); slurs, text and other markings in the voice stay unless include_markings=True.
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": {
"voice": "<voice>"
},
"name": "delete_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | ||
| voice | Yes | ||
| to_bar | No | ||
| to_pos | No | ||
| from_bar | No | ||
| from_pos | No | ||
| include_markings | No |