Transpose Piano Roll Notes
piano_roll_transposeTranspose every note in a channel's Piano Roll up or down by a signed semitone value to change key or octave. Notes clamp to MIDI 0–127 and the edit can be undone.
Instructions
Transpose every note in a channel's Piano Roll up or down by an integer number of semitones.
Use to shift an entire melodic or chord part to a new key or octave; use
piano_roll_edit_notes with filters + transpose to shift only selected notes,
or channel_set_pitch to adjust the live pitch knob without moving MIDI notes.
Notes clamp to MIDI 0..127; undoable via project_undo.
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": {
"semitones": "<semitones>"
},
"name": "piano_roll_transpose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Optional 0-based global Channel Rack index; when provided, opens that channel's Piano Roll before running the edit. Omit to target whichever Piano Roll is already open. | |
| pattern | No | Optional 1-based pattern index to select before opening the Piano Roll; omit to edit the currently selected pattern. | |
| semitones | Yes | Signed pitch shift in semitones applied to every note (e.g. +12 = up one octave, -2 = down a whole step). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||