add_scale_run
Generates a sequence of notes from a chosen scale within a specified time range in an Ableton Live clip. Control direction, duration, octave, and velocity.
Instructions
Write a scalar run (sequence of notes from a scale) into an existing clip.
Parameters:
scale: e.g. "C minor", "F# dorian", "Eb major pentatonic"
start_beat, end_beat: time range in the clip
direction: "up", "down", or "updown"
note_duration: length of each note in beats (default 1/16)
octave: starting octave (4 = middle C)
velocity: 0-127
Generates ascending/descending notes from the chosen scale, packed into
the [start_beat, end_beat) range with note_duration per note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| clip_index | Yes | ||
| scale | Yes | ||
| start_beat | No | ||
| end_beat | No | ||
| direction | No | up | |
| note_duration | No | ||
| octave | No | ||
| velocity | No |