add_hairpin
Add a crescendo, diminuendo, or messa di voce hairpin between two score positions, including inside held notes, and apply it across multiple voices or instruments.
Instructions
A hairpin (cresc, dim, messa_di_voce) from one position to another, e.g. bar 33 beat 0 to bar 33 beat 3/2, wherever notes start (also inside a held note). voices: put the same hairpin on several instruments (one voice each), e.g. the whole string section. A hairpin starting at a dynamic joins its group (p<), reported as merged_into. Returns the direction, positions and drawn length.
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": {
"kind": "<kind>",
"voice": "<voice>"
},
"name": "add_hairpin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| pos | No | ||
| beat | No | 0 | |
| flow | No | ||
| kind | Yes | ||
| voice | Yes | ||
| to_bar | No | ||
| to_pos | No | ||
| voices | No | ||
| to_beat | No | 0 |