Automatic Part Extraction
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
I realized the previous patch doesn't handle the case where there are multiple instruments with the same name, so here's a fresh one that does.
Could you try uploading it again?
Yes, but I won't be able to until this evening.
Here it is again.
Thanks for the patch emeraldimp. Before it can be applied to the trunk, would you be able to sign the MuseScore CLA? It is a common practise for open source projects to have a CLA in place. For more info, read http://en.wikipedia.org/wiki/Contributor_License_Agreement
Alright, I've signed the CLA.
Thanks a lot emeraldimp for the prompt reaction. Werner will pick it up from here.
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.
Automatically closed -- issue fixed for 2 weeks with no activity.
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.
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.
Automatically closed -- issue fixed for 2 weeks with no activity.