generate_process
Writes minimalist phase or additive process patterns into a Session clip, replacing existing notes and using specified MIDI pitches or source clip data.
Instructions
Write a minimalist process pattern into a Session clip (REPLACES existing notes).
mode='phase': Steve-Reich phasing — stack
repeatscopies shifted byshiftbeats.mode='additive': Philip-Glass additive build-up — 1st note, 1st 2 notes, ..., up to
steps(0=all). Build the motif from space/comma-separated MIDIpitchesor readsource_clip_index.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track_index": "<track_index>",
"clip_index": "<clip_index>"
},
"name": "generate_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | phase | |
| shift | No | ||
| steps | 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 |
|---|---|---|---|
| data | Yes | ||
| error | No |