transpose_midi_notes
Shift MIDI notes up or down by semitones to change pitch; notes outside 0-127 are kept and skipped.
Instructions
Transpose MIDI notes by a number of semitones (12 = an octave).
A note that would land outside pitch 0-127 keeps its original pitch and is counted in
skipped instead.
Args: semitones: Signed shift; positive is up, negative is down. 0 = no-op.
Returns:
{ok, notes_changed, clamped, skipped, out_of_bounds, notes:[...]}, where notes is
the full note list after the transform, re-indexed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| channel | No | ||
| end_beat | No | ||
| pitch_low | No | ||
| semitones | Yes | ||
| item_index | Yes | ||
| pitch_high | No | ||
| start_beat | No | ||
| track_index | Yes | ||
| return_notes | No |