transform_notes
Apply in-place MIDI note edits in Ableton Live clips: transpose, quantize, humanize, velocity, legato, reverse, stretch, or shift, with filters to target notes.
Instructions
Transform notes in place (ids kept). Filters as in get_notes select the notes (default: all).
operation and its options: transpose: semitones, or steps (scale degrees in the song's key and scale). quantize: grid ("1/16", "1/8T"), amount 0..1 (default 1), swing 0..1 (delays every second grid line). humanize: timing (+/- beats, or "10ms"), velocity (+/- spread), seed. velocity: factor (multiply), offset (add), value (set), random (+/- spread), seed. legato; reverse (within start/end or the loop); stretch: factor (around start or loop start); shift: offset (beats).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| grid | No | ||
| seed | No | ||
| slot | No | ||
| start | No | ||
| steps | No | ||
| swing | No | ||
| track | Yes | ||
| value | No | ||
| amount | No | ||
| factor | No | ||
| offset | No | ||
| random | No | ||
| timing | No | ||
| pitches | No | ||
| note_ids | No | ||
| velocity | No | ||
| operation | Yes | ||
| pitch_max | No | ||
| pitch_min | No | ||
| semitones | No | ||
| arrangement_clip | No |