mcp_opendaw_create_counterpoint
Generate a counter-melody in contrary motion to existing notes by mirroring pitch around a midpoint offset by a chosen interval, creating harmonic interest.
Instructions
Generate a counter-melody in contrary motion to existing notes.
Reads notes from a melody and creates a counterpoint that moves in the opposite direction: when the melody goes up, the counterpoint goes down, and vice versa. Each note is offset by a fixed interval from the melody's midpoint pitch, then mirrored.
unit_index: Source AU index. track_index: Source note track index. region_index: Source region index. interval: Base interval in semitones between melody and counterpoint (default 7 = fifth). The counterpoint is placed interval semitones below the melody's average pitch, then each note is mirrored around that center. new_unit_index: Target AU index (-1 = create new synth track). new_track_index: Target note track index on the target AU. velocity: Velocity for counterpoint notes (default 0.6, quieter than melody).
Returns source notes read and counterpoint notes created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interval | No | ||
| velocity | No | ||
| unit_index | Yes | ||
| track_index | No | ||
| region_index | No | ||
| new_unit_index | No | ||
| new_track_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |