mcp_opendaw_invert_notes
Inverts MIDI notes around a pitch axis to create melodic mirror reflections. Specify unit, track, region, and axis pitch for tonal inversion.
Instructions
Invert melody around a pitch axis — mirror reflection.
Each note's pitch is reflected around the axis: newPitch = 2*axis - oldPitch. Example: with axis=60 (C4), C4(60)→C4(60), D4(62)→Bb3(58), E4(64)→Ab3(56).
unit_index: AU index. track_index: Note track index. region_index: Region index (-1 = all regions on the track). axis: Pivot pitch for inversion (default 60 = C4). Notes equidistant from axis on opposite sides swap. Use the first note's pitch for tonal inversion.
Returns count of notes inverted and notes skipped (out of MIDI range).
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": {
"unit_index": "<unit_index>",
"track_index": "<track_index>"
},
"name": "mcp_opendaw_invert_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |