mcp_opendaw_diatonic_transpose_notes
Transpose notes by scale steps (diatonic) to preserve key during sequence construction, modal interchange, and counterpoint writing.
Instructions
Transpose notes by scale steps (diatonic) instead of semitones (chromatic).
Moves each note up or down by N steps within the specified scale. Unlike transpose_notes (which shifts by fixed semitones), diatonic transpose preserves the scale — C major C→D = +1 step (2 semitones), E→F = +1 step (1 semitone).
Essential for: creating variations that stay in key, modal interchange, sequence construction (moving a motif up the scale), walking bass from scale degrees, and counterpoint writing.
unit_index: AU index (-1 = all AUs). track_index: Note track index (-1 = all note tracks). region_index: Region index (-1 = all regions on track). steps: Number of scale steps to transpose. +1 = up one step, -1 = down one step, +3 = up a third, -5 = down a fifth. 0 = no change. root_note: Root note of the scale — C, C#, D, D#, E, F, F#, G, G#, A, A#, B. scale: Scale name — major, minor, dorian, phrygian, lydian, mixolydian, pentatonic_major, pentatonic_minor, blues, harmonic_minor, melodic_minor.
Returns per-track note counts transposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | major | |
| steps | No | ||
| root_note | No | C | |
| unit_index | No | ||
| track_index | No | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |