How to combine 2 MuseScore files into one score as 2 parts?

• May 16, 2020 - 01:04

I wrote something and initially, I didn't know how to make a multi-part score so I made them as 2 different files. Is there any way to merge them together into one file and have 2 parts?


Comments

Hi everyone, I had some free time and put together a powershell script MusescoreCombine.txt that merges several musescore 4 (maybe other versions too).
Prerequisite: The order and number of staffs is the same in all scores (otherwise the staffs of the instruments are mixed in an interesting way or the result is corrupt)

Just execute Powershell script (parameter: list of paths to the .mscz files)
The result is stored in MergedScore.mscz.

If you have concerns about the security of the script, take a look at the script. There is no magic built in.

These pictures shows how the script turns three scores (different files but merged hardcopies) Input.jpg into a complete score output.jpg You can also see that the instruments are taken from the first score. The notes are sometimes funny when they come from another instrument. This works even if you already have several section in these scores.

Feel free to use and modify. Except you will earn money for this.

P.S.: As this forum does not allow to add scripts directly (for security reasons) you have to rename "MusescoreCombine.txt" to "MusescoreCombine.ps1" first

(I edited this post as a new version of the script did the complete work)

Attachment Size
MusescoreCombine.txt 6.32 KB

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