generate_additive
Build a Philip-Glass style additive process in a Session clip by playing an expanding motif stage by stage.
Instructions
Write a Philip-Glass additive process 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.
Then plays the first 1 note, then the first 2, then the first 3 ...
concatenated end to end, so the phrase audibly grows one note per stage.
steps is how many stages to build (0 = use every note; capped at the
number of pitches).
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 |
|---|---|---|---|
| steps | No | ||
| pitches | No | 60 62 64 65 67 69 | |
| velocity | No | ||
| clip_index | Yes | ||
| note_length | No | ||
| track_index | Yes | ||
| source_clip_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |