generate_phase
Create Steve-Reich phasing patterns in Ableton Live clips by stacking delayed repetitions of a melodic motif, or import a motif from an existing clip.
Instructions
Write a Steve-Reich phasing pattern into a Session clip. REPLACES the clip's notes if it already exists.
Builds a short one-voice motif (each pitch a note_length-beat note, back
to back) from pitches -- a space-/comma-separated list of MIDI numbers,
e.g. "60 62 64 67 69". Then stacks repeats copies of that motif, each copy
starting shift beats later than the last, so the copies drift against one
another. A shift smaller than the motif length (len(pitches)*note_length)
gives the classic overlapping phase texture; shift == motif length is a
plain loop.
If source_clip_index is given, the motif is read from that clip on the
same track instead of built from pitches. Returns a short summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shift | No | ||
| pitches | No | 60 62 64 67 69 | |
| repeats | No | ||
| velocity | No | ||
| clip_index | Yes | ||
| note_length | No | ||
| track_index | Yes | ||
| source_clip_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |