add_dynamic
Add immediate dynamic markings such as p, f, or sfz to a voice at a bar/beat or position, including inside held notes or at hairpin ends, and apply them across several voices in one undo step.
Instructions
An immediate dynamic (p, pp, mp, mf, f, ff, sfz, fp, ...) on the voice's instrument at a position, also where no note starts (inside a held note) or where a hairpin ends. voices: the same on several instruments. at: more dynamics in the same call, e.g. [{"value": "f", "bar": 34}, {"value": "p", "bar": 36, "beat": "2"}] (each takes bar + beat or pos). One undo step; returns only the dynamics created.
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": {
"value": "<value>",
"voice": "<voice>"
},
"name": "add_dynamic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ||
| bar | No | ||
| pos | No | ||
| beat | No | 0 | |
| flow | No | ||
| value | Yes | ||
| voice | Yes | ||
| voices | No |