make all symbols accessible to plugins
Reported version
3.4
Type
Plugins
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Currently symbols (from the "symbols" palette) are invisible to plugins. Making them accessible to plugins would suddenly make all accidentals available for microtonal tuning plugins and would make other symbols available to various other kinds of useful plugins. In other words, many symbols would no longer be purely cosmetic, but could – by means of plugins – actually serve their intended purposes.
See the following forum thread for discussion leading to this suggestion:
https://musescore.org/en/node/306456
Fix version
3.5.0
Comments
Symbols attached to a particular note can be found in its
elements
list (briefly mentioned here):However for this to be useful an access to
SymId
enumeration is indeed necessary. It should probably be possible to do it in a similar way to what has been recently applied to the style settings enumeration. I can prepare a pull request on this, not sure whether it can make it into 3.5 version at this stage.Yes, please ;-)
Yes, pretty please! :)
See https://github.com/musescore/MuseScore/pull/6205
A large number of different symbols available seems to cause issues: the first time accessing
SymId
enumeration will cause a noticeable delay with the proposed implementation. However this will happen only once per MuseScore session, and it seems to be the only way to expose enumerations with lower-case enumerator names (Qt doesn't like them for some reason) with a traditional property-based interface (likeSymId.accidentalDoubleSharpTwoArrowsDown
).Fixed in branch 3.x, commit 8e3a8ae7c3
fix #306551: expose SymId enumeration to plugins
Fixed in branch 3.x, commit 9a668cac7b
_Merge pull request #6205 from dmitrio95/306551-plugin-api-symbols
fix #306551: make symbols accessible to plugins_
Automatically closed -- issue fixed for 2 weeks with no activity.