Automatic Part Extraction

• Jan 24, 2012 - 03:31
Type
Functional
Severity
S5 - Suggestion
Status
closed
Project

In reference to http://musescore.org/en/node/14578 , here is a patch that allows the user to automatically create all parts based on the instrumentation. I believe these changes would be helpful for both 1.2 (or subsequent 1.x releases) and 2.0. I intend to create another change which will allow the user to save all the created parts as well.

Please let me know if I need to change anything; I created a patch from git as indicated on the Development page, but I don't know if there's anything special I need to do with it.

Thanks!

Attachment Size
autoCreateParts.patch 4.11 KB

Comments

Status (old) patch (code needs review) fixed

applied the (modified) patch in trunk (r5254).
Please note that only some bug fixes are applied to 1.x branch. New features are for trunk only.

Status (old) closed active

Hi Werner,

Sorry it's taken me so long to get back to this... I was looking at the code today, and I think you grabbed the first patch instead of the second; the second handles mulitple instrument staves much better.

Thanks!

I don't understand the problem solved by the second patch. Is it a way to create parts with all the trumpets for example in the same part? Not sure if it's what a user wants to automate. If we are happy with the current implementation (one instrument, one part, so 4 trumpets, 4 parts) I would put this issue on "fixed".

Yikes, uh let me try to remember... :-P

From reading the patch, I *think* it makes sure that there aren't duplicate part names... so for example, if there is just a single Flute part, then it should create a part titled, "Flute", but if there are two flute parts, it would create "Flute 1" and "Flute 2", instead of "Flute" and "Flute". I recall fixing some other issue with the old implementation as well, but not what that was.

It doesn't try to combine parts at all - that would be interesting but requires a lot more user input, I think.

Status (old) active fixed

Auto numbering of parts with the same name seems to work in the current dev version 2ef217d567 I put this issue on fixed. Reopen if you think I'm missing something.