mcp_opendaw_create_appoggiatura
Add an appoggiatura ornament to your MIDI track. Specify main note, grace note, duration, and tension ratio for a resolving grace note.
Instructions
Create an appoggiatura — leaning grace note that resolves to the main note.
The appoggiatura is the fourth and final essential baroque ornament (trill, mordent, turn, appoggiatura). Unlike a mordent (quick flick), the appoggiatura is expressive: it plays a neighbor note FIRST (usually longer), then resolves into the main note. The approach note creates harmonic tension that the main note releases. Think Bach cello suites, Mozart operas, Chopin nocturnes.
An appoggiatura above approaches from higher (e.g. D → C). An appoggiatura below approaches from lower (e.g. B → C). The approach note typically takes 2/3 of the total duration, leaving 1/3 for the resolution — but this is adjustable.
main_pitch: The resolution note (default 60 = C4). This is where tension releases. approach_pitch: The grace note played first (default 62 = D4). Can be above or below main. duration_beats: Total length of both notes combined (0.5-8, default 1.0 = quarter). appoggiatura_ratio: Fraction of duration for the approach note (0.5-0.9, default 0.67 = 2/3). Higher = more tension (longer grace, shorter resolution). 0.5 = equal split. velocity: Base velocity 0-1 (default 0.85). Approach note is slightly accented. 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 appoggiatura begins.
Returns notes created, pitches used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| velocity | No | ||
| main_pitch | No | ||
| start_beat | No | ||
| unit_index | No | ||
| track_index | No | ||
| approach_pitch | No | ||
| duration_beats | No | ||
| appoggiatura_ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |