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

What Partitura Is Not

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