transpose_clip
Transpose all notes in a MIDI clip by a given number of semitones, clamping notes that exceed the MIDI range.
Instructions
Transpose every note in a clip by semitones (positive = up, negative
= down). Notes that would land outside the MIDI range [0, 127] are
clamped.
Implementation: read notes, mutate pitches, batch(remove + add).
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>",
"semitones": "<semitones>"
},
"name": "transpose_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| semitones | Yes |