Midi Instrument Training
Hi,
I created a plugin (for MuseScore 2.0 beta on linux) that allows me to train to play my midi instrument (a homemade usb midi wind instrument using teensy). The plugin colors notes in blue, green, yellow, orange and red depending on the note and rhythm accuracy. I took inspiration from the Midi Sight Reader plugin by DonH but my plugin does not wait for the player to play each note (if a note is missed, it is colored in red) and my plugin starts the musescore playback so you can play your part and let musescore play the other score parts.
The plugin uses osc commands to interact with musescore (play, coloration).
You need to export the score in midi format for the plugin to work.
I use the aplaymidi program in order to read the midi file and send events to the plugin.
It is probably a ugly hack but it was easier for me than implementing a midi file parser...
And it works well on my computer (which is recent and has good cpu and ram...) and with my homemade wind instrument.
It should also work for instruments that are able to play multiple notes at the same time (like midi keyboards) but I did not test it.
I hope this can be useful to anyone... And do not hesitate if you have comments and/or suggestions.
The plugin is available at:
http://musescore.org/en/project/mit
Thanks to the MuseScore team for this great piece of work!
JB