Prevents xml files without time signature
Insert music length info
Generalize note functions
Generalize piece functions