Howto add a part/staff from a musescore 3.3 plugin

• Sep 24, 2019 - 16:08

Can anybody explain me how to insert/append a new staff/part from a Musescore 3.3 plugin?
I'm currently working on a plugin that generates chord notes from chord text in a dedicated (new) staff. When playing, this staff will direct the connected arranger of my keyboard to play a multi-fingered chord.
I tried to insert a new staff/part from Musescore 3.3 plugin in various ways, but the only thing I succeed in is crashing Musescore.


Comments

In reply to by wklessen

I don't know if it's doable or not, but you will find that the subset of objects, constructs, and facilities available to plugins is not at all comprehensive; each structure or function to be made available to QML has to be added to the core code explicitly at some time.

In reply to by wklessen

I don't know because I haven't looked into it, but I would not be at all surprised. Look at every single plugin which exists and see if any creates staves. On the other hand, I seem to remember that the old "half-time" plugin (that's an MS3 facility now, much better) created "parts" with its output. See if you can find a copy of it (and that isn't to say that whatever it does will work in ms3).

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