mcp_opendaw_create_sequence
Creates a melodic sequence by repeating a pattern at transposed pitch levels, with control over transposition, repeats, direction, and velocity.
Instructions
Create a melodic sequence — repeat a pattern at transposed pitch levels.
The most fundamental compositional technique in Western music: take a melodic fragment, repeat it at a different pitch (usually up/down a 4th or 5th). Think baroque sequences (Pachelbel), jazz ii-V-I chains, film score ascending quint sequences, or EDM build-ups with rising motifs.
pattern: Comma-separated MIDI pitches (e.g. "60,62,64,67"). transposition: Semitones to shift each repeat (default 5 = perfect 4th up). Common: 5 (4th), 7 (5th), 2 (major 2nd), -2 (down), -5 (4th down). repeats: Number of transposed repetitions (1-8, default 3). direction: "up" (transpose up), "down" (transpose down), "alternating" (up/down/up...). segment_beats: Duration of each pattern repetition in beats (0.5-16, default 2). velocity_decay: Velocity change per repeat (-0.3 to 0.3). Positive = louder, negative = quieter (fade-out). 0 = constant. unit_index: AU index with note track (-1 = find first AU with note tracks). track_index: Note track index within the AU. start_beat: Position in beats where the sequence begins. velocity: Base velocity 0-1 (default 0.8).
Returns notes created, repeat count, total transposition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | 60,62,64,60 | |
| repeats | No | ||
| velocity | No | ||
| direction | No | up | |
| start_beat | No | ||
| unit_index | No | ||
| track_index | No | ||
| segment_beats | No | ||
| transposition | No | ||
| velocity_decay | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |