Need Plugin Example - How to Delete Note(s) from a Chord in MuseScore 3.x
Can anyone provide a snippet in QML for how to delete one or more notes from a chord? (from the current selection.) I was able to do this with my PruneStack plugin for 2.x but the code that conditionally "deletes" (or prunes) selective notes from an array of chord stacks no longer works in 3.x. (All of the other functionality does, so I'm just blocked on the specific way to "delete" notes from chords in 3.x.)
I'm assuming this is due some changes to the API.
Here's my PruneStack plugin in github - again, this code works in MuseScore 2.x and I would love to get it working for 3.x at some point! For me, this plugin is useful in those cases where "exploding" a stack of notes isn't always possible or ideal and when one simply wants to "prune" out one or more levels of notes from a blocked voice melodic line.
Thanks for any help/tips MuseScore community/developers!