mcp_opendaw_create_motif_development
Transform a short motif into a continuous, evolving melodic line using development stages like sequence, fragment, inversion, and cadence.
Instructions
Develop a motif into a through-composed melodic line that evolves.
Takes a short motif (2-8 notes) and builds a continuous melodic line that develops through compositional stages: statement, sequential repetition (up/down), fragmentation (shorter segments), inversion, octave displacement, and cadence. This is the Beethoven 5th approach — a 4-note seed grows into an entire melodic arc.
Unlike create_variations (separate regions, each a full transformation), create_motif_development writes ONE continuous line that flows through stages without stopping. Unlike create_sequence (pure transposition), this tool mixes multiple development techniques in sequence.
motif: Comma-separated scale degrees (1-7) or MIDI pitches. Scale degrees: 1=root, 2=2nd, 3=3rd, etc. 0=rest. MIDI pitches: 60,62,64,65 etc (when use_midi=true implicit if >7). Example: "1,1,1,2" or "60,60,60,62" scale: Scale type (major, minor, harmonic_minor, dorian, etc.). root: Root note name (C, D#, Bb, etc.). octave: MIDI octave for root (4 = C4=60). steps: Comma-separated development stages: "statement" — play motif as-is "sequence_up" — transpose up by a 4th (5 semitones) "sequence_down" — transpose down by a 4th "fragment" — play first half of motif "fragment_end" — play second half of motif "invert" — invert around root pitch "octave_up" — shift up one octave "octave_down" — shift down one octave "expand" — double note durations "compress" — halve note durations "cadence" — resolve to root (scale degree 1, longer duration) step_duration: Duration of each note in beats (0.25 = 16th). velocity: Base velocity 0-1. unit_index: AU index with a note track. track_index: Note track index within the AU. start_beat: Where the development starts.
Returns total notes, stage count, pitches used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | A | |
| motif | Yes | ||
| scale | No | minor | |
| steps | No | statement,sequence_up,sequence_down,fragment,invert,sequence_up,fragment,octave_up,cadence | |
| octave | No | ||
| velocity | No | ||
| start_beat | No | ||
| unit_index | No | ||
| track_index | No | ||
| step_duration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |