analyze_harmony
Analyze chord progressions and detect tonal center from MuseScore files. Outputs key, confidence, and chord details with Roman numerals.
Instructions
Analyze chord progressions and tonal center using music21.
Requires pip install music21.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz".
Returns: Dict with detected_key, confidence, and a list of chords [{offset, measure, chord, roman_numeral}, ...].
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": {
"score_b64": "<score_b64>",
"input_suffix": "<input_suffix>"
},
"name": "analyze_harmony"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes |