~marcevanstein/pymusicxml

A simple Python library for creating MusicXML files in a musically logical way
Updated README.md
Added sourcehut build file
Added implementation for

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~marcevanstein/pymusicxml
read/write
git@git.sr.ht:~marcevanstein/pymusicxml

You can also use your local clone with git send-email.

#pymusicxml

pymusicxml is a simple python library for exporting (and perhaps in the future, importing) MusicXML files, modelling them in a hierarchical and musically logical way. Although MusicXML can simply be created using xml.etree.ElementTree, it is a confusing process: for instance, objects like tuplets and chords are created using note attributes in the MusicXML standard. In pymusicxml, they are modelled as containers.

See the examples folder for an example of an explicitly created and exported score, as well as an algorithmically created and exported score.

pymusicxml is part of scamp, a Suite for Computer-Assisted Music in Python.