scripts.classes2mlclasslist module¶
This is a script that converts a simple line-based list of MLClass names into the MLClassList XML definition file for OMR toolbox. A time-saving utility.
Accepts either one class name per line:
notehead stem flag slur tie barline
or one class name and tab-separated class group per line:
notehead note stem note flag note slur notation tie notation barline layout
If no group is specified, the <Folder>
tag will be identical
to the class name. If group is specified, the folder will be
group/classname
.
Colors¶
Symbols in the same group get the same color.
If no group is given, the color changes along the matplotlib color cycle.