Would it be possible (for me) to write a plugin that randomly moves some notes out of tune, for student analysis?
HI folks,
as I found out MuseScore plugins are written in QML. Is it possible to do the following via a plugin?
- Introduce some random changes to a few notes throughout the score.
- Highlight these changes via a different color (or otherwise).
This would serve as a learning tool for music students, who should identify discrepancies in the score vs. the original one - mainly as a hearing exercise...
Thx!
Joe
Comments
Changing a note(head)'s color is possible via Plugins, several do this, so can serve as examples (e.g. Color Notes, Color Voices).
Changing the tuning of a note is possible too, by (up to) +/- 200 cents (100 cent are one semitone), here too plugins are available.
In reply to Chaning a note(head)s colod… by Jojo-Schmitz
Thx Jojo! Will search for examples...
Is changing a note to a different one (for instruments that have fixed notes instead of tuned notes - e.g. piano vs violin), even beyond the 200 cents possible as well?
In reply to Thx Jojo! Will search for… by Joe_
instead of detuning notes you could change their pitch, like change an A to a G
In reply to instead of detuning notes… by Jojo-Schmitz
Thx!
One more question - the documentation at https://musescore.org/en/handbook/developers-handbook/plugin-development is still relevant to 3.x? The page https://musescore.org/en/handbook/developers-handbook/plugins-3x says it is still a work in progress, so just wanted to know where to look and what to avoid to not use deprecated stuff...
In reply to Thx! One more question - the… by Joe_
The first page seems to apply only for 1.X plugins which is really outdated. The second page is actual indeed. The second page contains a link to a more complete documentation which is probably the most up-to-date and complete documentation on plugins development we have.
In reply to The first page seems to… by dmitrio95
Some pages of the 1.x plugins handbook are still useful, like the one that describes TPC
In reply to Some pages of the 1.x… by Jojo-Schmitz
Maybe we could add this information to the Doxygen-based documentation too.
In reply to Maybe we could add this… by dmitrio95
Potentially still useful Plugins 1.x pages:
In reply to Still usefull Plugins 1.x… by Jojo-Schmitz
Added them in this commit.
The two addendums from Note Object correspond to enumerations that are already exposed and documented to QML plugins framework so I didn't add that page. The same goes for Global Variables which now belong to
MuseScore
object. Tick lengths page was added but recalculated in terms ofdivision
variable to unbind that from raw numerical ticks values. Other pages were updated and added there.