musescore 4 CLI --score-transpose does nothing?

• Sep 10, 2023 - 22:55

Hi team,

I have a script that does a bit of processing on my scores, part of which is CLI transposition with the following invocation:

> mscore myfile.mscz --score-transpose '{"mode": "by_interval", "direction": "up", "transposeInterval": 4, "transposeKeySignatures": true}'

It works fine with MuseScore 3, but it seems that the mscz produced by MuseScore 4 isn't transposed at all, though everything seems to work fine. Inside the encoded mscz output I can find a "MercyMercyMercy_transposed.997894.mscx" file, which content is exactly identical to the mscx in my original mscz.

Am I doing something wrong? I have tried with a freshly-compiled musescore, master branch and with MuseScore 4.1.1, they behave just the same.

I am attaching my original file (MercyMercyMercy.mscz) and the produced mscz (tmp_conductor.mscz).

Thanks for your help!

Attachment Size
MercyMercyMercy.mscz 32.45 KB
tmp_conductor.mscz 31.65 KB

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