Highlight Notes
highlight_notesMark matching notes, drum pieces, or pitches with translucent boxes across selected measures to visually identify specific hits and chord tones in a score.
Instructions
Highlight individual hits like a highlighter pen: a translucent box around each matching note, as wide as the note and as tall as the whole staff (taller if the note sits above or below it). Hits close enough for their boxes to touch share one box. Use drums (e.g. ["crash"]) or pitches to pick notes in a chord. start_beat/end_beat limit it to part of a bar. Boxes are sized to the current layout: if the layout changes a lot, clear and highlight again. Remove with clear_highlights.
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": {
"start_measure": "<start_measure>"
},
"name": "highlight_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Highlight color as "#rrggbb" (default yellow) | #ffd600 |
| drums | No | Drum kit pieces to mark, e.g. ["crash"], ["kick", "snare"], ["hi-hat"] | |
| opacity | No | Opacity from 0 to 1 | |
| pitches | No | MIDI pitches to mark (e.g. 57 for crash 2). Combined with drums; all notes if both are empty. | |
| end_beat | No | Last beat in end_measure to include, the whole beat (e.g. 4 = through the end of beat 4). Defaults to the end of the measure. | |
| last_staff | No | Last staff (0-based, inclusive). Defaults to first_staff. | |
| start_beat | No | Beat in start_measure where coloring starts (1-based; fractions allowed, e.g. 3.5 for the 'and' of 3). A beat is the time signature's denominator: a quarter in 4/4, an eighth in 6/8. Defaults to the start of the measure. | |
| end_measure | No | Last measure (1-based, inclusive). Defaults to start_measure. | |
| first_staff | No | First staff (0-based) | |
| start_measure | Yes | First measure (1-based) |