mcp_opendaw_create_variations
Create thematic variations from a source note region by applying transformations such as transpose, invert, reverse, augment, diminish, fragment, or octave shift. Each variation is written to a new region.
Instructions
Create thematic variations from an existing note region.
Reads notes from a source region and generates N variations, each written to a new region on the target track. Each variation applies a transformation: transpose, invert, reverse, augment, diminish, fragment, or octave_shift. This is the fundamental compositional technique of theme-and-variations (Bach Goldberg, Beethoven Diabelli, Brahms, jazz reharmonization).
source_unit: AU index of the source notes. source_track: Note track index within the source AU. source_region: Region index to read from (0 = first region). variations: Comma-separated variation specs. Each spec is: "transpose:N" — transpose by N semitones (e.g. transpose:5, transpose:-7) "invert" — invert around middle C (axis=60) "invert:N" — invert around pitch N "reverse" — reverse note order (keep positions relative) "augment:N" — multiply durations by N (e.g. augment:2 = double) "diminish:N" — divide durations by N (e.g. diminish:2 = halve) "fragment" — keep only notes on beats (quantize to beat boundaries) "octave_up" — shift up one octave (+12) "octave_down" — shift down one octave (-12) Example: "transpose:5,invert,reverse,augment:2,octave_down" target_unit: AU index for variations (-1 = same as source). target_track: Track index for variations (-1 = same as source). start_beat: Starting beat for first variation. spacing_beats: Gap between variations in beats (0 = each starts after previous ends).
Returns notes per variation, total notes, variation count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_beat | No | ||
| variations | No | transpose:5,transpose:-3,invert,reverse,augment:2 | |
| source_unit | Yes | ||
| target_unit | No | ||
| source_track | Yes | ||
| target_track | No | ||
| source_region | No | ||
| spacing_beats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |