MuseScore player plugin or creating one?
Hi all
Beginner here so asking basics ;) Is there any MuseScore source or programmers manual where to find out how to create a plugin that opens a score file and plays it, and best of all then opens a next on
Thank you for all answers
isse3D
Comments
The main plugin class has a readScore function.
https://musescore.github.io/MuseScore_PluginAPI_Docs/plugins/html/class…
You can use cmd in a plugin to issue many MS commands, including play.
https://musescore.org/en/node/352268
So maybe you can combine these – probably closing scores after playback, although I'm not sure that the plugin API can report "end of playback" so you might need to set a timer to close the score after its playback duration.
Score duration: https://musescore.github.io/MuseScore_PluginAPI_Docs/plugins/html/class…
Here's a starting point for development:
https://musescore.org/en/handbook/developers-handbook/plugins-3x
You may be able to define playlists of scores for your plugin to load.