mcp_opendaw_create_sonata_form
Create a sonata form composition by specifying key, scale, bar lengths for exposition, development, and recapitulation sections.
Instructions
Create sonata form — exposition, development, recapitulation.
Sonata form is the structural foundation of classical symphonies, sonatas, string quartets, and concertos from Haydn through Mahler. Three main sections:
EXPOSITION (bars 1-N): Two contrasting themes.
Theme 1 in the home key (tonic): stepwise, lyrical, conjunct
Transition: modulates from tonic to dominant (or relative major if minor key)
Theme 2 in the new key: more rhythmic, wider intervals
Closing group: cadential figures in the new key
DEVELOPMENT (bars N+1 to N+M): Fragmentation and modulations.
Takes fragments from Theme 1 and Theme 2
Sequences through related keys (iii, vi, ii, IV)
Builds tension through rising sequences
Retransition: dominant pedal leading back to tonic
RECAPITULATION (bars N+M+1 to end): Both themes in the tonic.
Theme 1 returns in tonic (as in exposition)
NO modulation — Theme 2 now in tonic (not dominant)
Closing group in tonic
Optional coda (4 bars): final cadential reinforcement
Melody track: track_index. Bass track: track_index + 1. The development section uses sequence-based modulation, the hallmark of classical development technique.
Scale options: major, minor, dorian, phrygian, lydian, mixolydian, aeolian, locrian, harmonic_minor, melodic_minor, pentatonic_major, pentatonic_minor, blues, whole_tone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_root | No | C | |
| velocity | No | ||
| recap_bars | No | ||
| scale_name | No | major | |
| start_beat | No | ||
| unit_index | No | ||
| track_index | No | ||
| exposition_bars | No | ||
| development_bars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |