Find Groove Sections
find_groove_sectionsMaps groove sections by identifying the groove bar, exact and near copies, and fills, then proposes measure-repeat signs for exact copies, a collapse range, and flags near copies for approval.
Instructions
Map the sections of a groove-based part (drums by default): for each section the groove bar, the bars that copy it exactly, near copies (with the hits that differ), and fills. Proposes measure-repeat signs for exact copies only, as ready-made apply_measure_repeats groups, and a collapse_to_repeat range for a 'groove bar x N' chart. Show near copies to the user and only replace them once approved: a repeat sign deletes their differences.
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": "find_groove_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staves | No | Staff indices to analyse (0-based). Defaults to the drum staves. | |
| tolerance | No | How similar (0-1, share of identical hits) a bar must be to its groove to count as a near copy | |
| end_measure | No | Last measure to analyse (1-based, inclusive). Defaults to the end of the score. | |
| start_measure | No | First measure to analyse (1-based) |