Change Instrument via plugin

• Dec 30, 2019 - 19:55

I'm trying to create a plugin to transpose scores for different instruments in an automated way. I'm quite aware of the various ways of manually invoking the "Select Instrument" dialog in MuseScore (via Add/Text/Change Instrument, via the Text/Change Instrument palette, etc.). However, it would be very useful if this function was exposed through the plugin API. That is, a function that would simply take an instrument name in text format (or as an id from instruments.xml) and do exactly what is done when the "Select Instrument" dialog is invoked.

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