analyze_harmony
Reads a MIDI item and explains its harmony: key, chords over time, Roman numerals, cadences, and non-chord tones when a melody is provided.
Instructions
Reads a MIDI item and explains its harmony: the key (detected), chords over time, Roman numerals and functions, cadences, notes outside the key, and (with a melody item) passing tones, suspensions, appoggiaturas and other non-chord tones.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"item_id": "<item_id>"
},
"name": "analyze_harmony"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key with any scale or mode: 'A minor', 'F# dorian', 'Bb', 'Eb mixolydian', 'C harmonic minor' | |
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" | |
| resolution | No | auto | |
| melody_item_id | No | Also analyze this melody against the chords: non-chord tones |