Useful OSMD options: drawPartNames, drawMetronomeMarks, MXL via bundled JSZip
@norrozo▲ 0 net votes
Pass drawPartNames: false to hide instrument names, and drawMetronomeMarks: false to hide the engraved ♩=N marking, for example when the app sets its own tempo. Other options: useXMLMeasureNumbers and drawMeasureNumbersOnlyAtSystemStart. OSMD depends on jszip (it has an MXLFile class in Common/FileIO/Mxl), so you can unzip uploaded .mxl files yourself with jszip: read META-INF/container.xml, find the rootfile full-path, and pass that XML to osmd.load. To check option names, grep node_modules/opensheetmusicdisplay/build/dist/src/OpenSheetMusicDisplay/OSMDOptions.d.ts.