MuseScore 4.0.2 Appimage: Unknown commandline option '--score-mp3'.

• Jun 18, 2023 - 13:06

https://musescore.org/en/handbook/4/command-line-usage describes commandline option --score-mp3 to convert a score to MP3, but generates an error:

$ ./MuseScore-4.0.2.230651545-x86_64.AppImage --score-mp3 Canon_in_D.mscz
MuseScore4: Unknown option 'score-mp3'.

I assume I do something wrong. What is the right command to convert a .mscz to a .mp3 file?
Thanks.


Comments

In reply to by DanielR

On my system (also Windows) using -o generate a file but it was not a valid mp3 file. Whic turns out to be a mistake by me :) as tried it again and it works fine.

Alternative approach, which also works on my system, is to use a json job file.

Using the content:

[
{
"in": "score.mscz",
"out": "score.mp3"
}
]

And then use the -j parameter to specify the job file.

In reply to by DanielR

> MuseScore4.exe "pathname\score-filename.mscz" -o "pathname\output-filename.mp3"

This method works on both Windows and Linux. Thanks!

  • On Windows, the prompt returns immediately and generated MP3 file is 0KB.
  • On Linux, the prompt returns when the MP3 has been created, so different behavior.
  • Generation on both Windows and Linux takes some time and after a while the MP3 file is created correctly.

This option will not be implemented in MS4 and has been removed from the handbook as well.

Thank you for reporting this.

To export to mp3, use the -o option.

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