Add Articulation
add_articulationAdds articulations like half-open hi-hat, accent, or staccato to chords for selected drums within a bar and beat range, leaving existing symbols unchanged.
Instructions
Add an articulation to the chords that contain the chosen drums in a range of bars (and beats): 'half_open' (half-open hi-hat), 'open', 'closed' (hi-hat), 'accent', 'marcato', 'staccato', 'tenuto'. E.g. drums=['hi-hat'], symbol='half_open' marks the hi-hats of bars 72-85 as half-open. Chords that already have it are left alone. Remove with remove_articulations.
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": "add_articulation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drums | No | Drums whose chords get it, e.g. ["hi-hat"] | |
| symbol | No | Articulation to add | half_open |
| pitches | No | MIDI pitches whose chords get it (with drums; all chords if both 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 the last 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 bar (inclusive). Defaults to start_measure. | |
| first_staff | No | First staff (0-based) | |
| start_measure | Yes | First bar (1-based position) |