Introduction

Warning

This documentation is still under construction!

Tested with python 3.9, 3.10 and 3.11

musicscore is a python library for generating MusicXML data in an intuitive and easy but nevertheless exhaustive way. The generated files can be imported in several music notation programs and be processed further if necessary. The preferred software is Finale which seems at the moment to have the best implementation of MusicXML format files and supports version 4.0.

musicscore depends heavily on the library musicxml which allows an object oriented and comprehensive approach to MusicXML format.

The main classes of musicscore are arranged in a tree structure which is roughly based on the tree structure of the <score-partwise> element. The MusicTree (a child class of the absract class Tree) is used as parent of all the following classes:

See also Installation and Examples.