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}, ...].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes |