OpenSheetMusicDisplay
    Preparing search index...

    Class MXLHelper

    Some helper methods to handle MXL files.

    Index
    • Returns the text of the score file of an MXL file (a zip archive): the file that META-INF/container.xml names as the rootfile. If the container file is missing or names no file of the archive (e.g. a MusicXML file that was zipped by hand), the first .musicxml file of the archive is read instead, or else its first .xml file, with a warning. Rejects with an Error that says what is missing if the archive has no such file either.

      Parameters

      • zip: JSZip

      Returns Promise<string>

    • Parameters

      • data: string | Blob

      Returns Promise<string>