Part export automatic numeration of same instruments
Currently, when pressing the "new all" button in the part export window, if there are more than one instruments of the same kind in the score, they are enumerated.
However, in a musically incorrect way:
Trumpet
Trumpet-1
Trumpet-2
e.g: nameOfPart = "InstrumentName"+"-"+"(numberOfSameInstruments - 1)"
when it should be:
Trumpet 1
Trumpet 2
Trumpet 3
Trumpet 4.
e.g: partName = "InstrumentName"+"\s"+"numberOfSameInstruments"
Comments
You are right, when you have more then one same instrument,
I might be perfectionist but if you have one piccolo and 3 flute, only flute should be numerated
(so i think that 's why there was -1 (0 isn't visible)
You are absolutely right. Any auto-numbering mechanism should kick in only if there actually are duplicates.
In practice, I have concerns - some people want to see "Flute 1" and "Flute 2", others "Flute I" and "Flute II", others "!st Flute" and "2nd Flute". Probably other variations in other languages. Trying to make this cover all cases, with radio buttons to select numbering style, etc - could be a drag. Still, I'd be happy with "Flute 1" and "Flute 2" by default and making people with other preferences edit the names. Wouldn't be any worse than it is now.
Flute $n
is definitely the most used way of numbering!
We could use a method similar to the special symbols in headers/footers, by using some variables in the partnames (like the $n mentioned above) and have different variables for Arabic numbers, Roman numerals, letters.
And different variables whether we want a 1 even if there is no 2nd instrument, like:
On the other hand this could get fix via the use of templates, or by tweaking staff properties before part extraction
See also https://musescore.org/en/node/56681.
Came up again in https://musescore.org/en/node/151511
Keep it simple with Flute X.
PR - https://github.com/musescore/MuseScore/pull/2953
Just sharing the screenshot posted on GitHub:
I like this a lot.
Fixed in branch master, commit b860643291
fix #25271: Part export automatic numeration of same instruments
Fixed in branch master, commit b519c87254
Merge pull request #2953 from vinayakvivek/25271-part-export
fix #25271: Part export automatic numeration of same instruments
Fixed in branch master, commit ce77e12d35
fix #25271: Follow up, add comments.
Fixed in branch 2.1, commit 06df0500b1
fix #25271: Part export automatic numeration of same instruments
Fixed in branch 2.1, commit 175636a738
fix #25271: Follow up, add comments.
Automatically closed -- issue fixed for 2 weeks with no activity.
Related issue: #293113: Automatically number instruments