Duplicate the 'part' of one or more 'staves' from one file to another, or in the same file, through 'mscx' files

• Mar 14, 2025 - 13:07

I created this plugin to be able to transfer particular settings (e.g. of a tablature) from one score to another without having to rewrite the characteristics of the instrument itself every time, all based on the 'mscx' format.
Attention: the source 'part' must be consistent with the target 'part'; a single-staff part cannot be transferred to a double-staff part. The piano, and the like, have two staves but only one part.
The operation is very simple, just drag the file with the part to be copied into the yellow box, and the file with the part to be replaced in the green box, choose the part to copy and the part to be replaced, then click on 'Save Score'.
The only preliminary operation will be to set the default path for the new file created by the plugin, writing it in the 'qml' file (// CUSTOMIZATION). A message when the window opens warns about the consistency of the path entered.

The plugin works in both Windows and Linux, and is available (in the dedicated section) for Musescore versions 3.6 and 4.4.

Considerations: difference between 'part' and 'staff'. A 'part', substantially, is an instrument (a sung part, a guitar, a violin), the 'staff' are the means to represent its musical content. In the plugin, the count (from top to bottom) must be done on the 'parts', not on the 'staves'.
Even the 'substitutions' will have to be reasonable: it makes sense to replace a bass (the instrument) part written with the notes with the corresponding tablature, but not a drum part with a cello part.
Once modified, the 'mscx' file should be put back in context, especially if the 'mscz' contains images, or, as in the case of MuseScore 4, contains 'json' and 'mss' files with additional settings. If you always use the same settings for the score, you should place these additional files in the same folder where the edited 'mscx' file is saved, which MuseScore 4 will load together with the new 'mscx' file; better yet create a folder with all the files extracted from the original 'mscz' file, and move the 'new score' mscx inside it. If, on the other hand, there are no particular needs, you can directly upload the new 'mscx' file without any particular problems.
The usefulness of the plugin will be verified especially if you use 'pushed' customizations of some instrument, which once saved in an 'mscx' file can be quickly inserted into the score. If you only need to change the tuning of a guitar string, Musescore is faster!
Mscx Duplicate Part 2.png

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