Partitura is a compact, human-readable language for authoring musical scores. It compiles to MusicXML and is designed to work well with both composers and LLMs.
What Partitura Is
- A compact authoring DSL for musical scores
- A canonical, editable source format
- A validation surface over the full MusicXML specification
- A deterministic source for MusicXML export
What Partitura Is Not
- A rendering engine
- A DAW automation format
- A general programming language
Design Principles
Canonical Source
Every musical concept has one preferred form in .pta. No ambiguous encodings, no multiple equivalent spellings.
Full MusicXML Coverage
The semantic model underlying Partitura covers the complete MusicXML specification. Nothing is lost in translation.
Composer-First
The score block is designed for direct composition. Advanced layout, defaults, and import-preservation detail live in an optional config block that never pollutes the main authoring flow.
Deterministic
The same .pta input always produces the same MusicXML output. Roundtrip conversion preserves semantic equivalence.
Repository
https://github.com/Partitura-Music/partitura