Command-line only version of Musescore?

• May 17, 2020 - 21:38

So I want to run Musescore as part of a script. (specifically exporting .mscz files to .mxl files) Obviously Musescore supports that feature out of the box, but it also includes the entire graphical interface in the process, which I don't need since I'm only running Musescore on a server. Does anyone know if Musescore has a version which has just the command line interface, or is there a standalone command line-only .mscz to .mxl file converter out there?


Comments

Yes.

Example (all on one line):

"C:\Program Files\MuseScore 3\bin\MuseScore3.exe" -o "C:\Users\Username\Documents\MuseScore3\Scores\Foo.mxl" "C:\Users\Username\Documents\MuseScore3\Scores\Foo.mscz"

MuseScore tries to be smart enough to not start up all the UI stuff it would otherwise need to, so it should be harmless to just use the regular MuseScore executable for this. We do this all the time. It should even work on a complete "headless" server as far as I know (@mirabolis could probably shed more light on that).

Do you still have an unanswered question? Please log in first to post your question.