music21.musicxml.archiveTools¶
Tools for compressing and uncompressing musicxml files.
Functions¶
-
music21.musicxml.archiveTools.compressXML(filename, deleteOriginal=False)¶ Takes a filename, and if the filename corresponds to a musicXML file with an .xml extension, creates a corresponding compressed .mxl file in the same directory.
If deleteOriginal is set to True, the original musicXML file is deleted from the system.
-
music21.musicxml.archiveTools.uncompressMXL(filename, deleteOriginal=False)¶ Takes a filename, and if the filename corresponds to a compressed musicXML file with an .mxl extension, creates a corresponding uncompressed .xml file in the same directory.
If deleteOriginal is set to True, the original compressed musicXML file is deleted from the system.