Partitura
Python package for handling symbolic music: MusicXML, MIDI, Humdrum kern, and MEI.
| Language | Python |
|---|---|
| Category | Composition & notation |
| License | Apache-2.0 |
| Platforms | macOS Windows Linux |
| Install | pip install partitura |
| First released | 2019 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Loads/exports MusicXML, MIDI, Kern, MEI
- Rich note arrays and part structures for MIR
- Actively maintained by CPJKU
Limitations
- Research-oriented; steeper API
- Symbolic-only, no audio synthesis
Best for
Research pipelines that parse and analyze symbolic music across formats.
Minimal example
import partitura as pt
score = pt.load_score(pt.EXAMPLE_MUSICXML)
note_array = score.note_array()
print(note_array)