Musescore 2.0 class or object which starts playing? Question to developers musescore 2.0.
My question addressed to developers and creators musescore 2.0 version: Could you please tell me the name of the class or name of object which starts playing (Start or stop playback)?
Comments
I believe it is in ...libmscore/rendermidi.cpp
In reply to I believe it is in by Jojo-Schmitz
Thank you, could you please tell - is it possible to play score from plugins api? If yes, would you please tell how to do it?
In reply to Thank you, could you please by 2000music
I don't think it is possible
In reply to I don't think it is possible by Jojo-Schmitz
Thank you very much for fast answers, Jojo.
Depending on what you want to do, it could be interesting to know that you can start/stop playback via OSC messages.
In reply to Depending on what you want to by [DELETED] 5
Dear friends, thank you for your fast answers, but I have new question:
Would you please tell How to get selected note from cursor element in qml?
In reply to Dear friends, thank you for by 2000music
Look at the examples, like colornotes.qml
In reply to Look at the examples, like by Jojo-Schmitz
Thank you Jojo and lasconic I see that my task can not be made by plug-ins api. So I am going to change source of musescore 2.0. and really need your help - I need to get the name of the class, which highlights note during playing. It is shown in screen shot . Or other decision - I need to know how in qt: connect to Signal PlaySound. Could you help me me please?
In reply to Thank you Jojo and lasconic by 2000music
Can you describe in details what you want to do?
In reply to Can you describe in details by [DELETED] 5
Yes, sure, here is screenshot
In reply to Yes, sure, here is screenshot by 2000music
Ok. This is definitely not going to work with a plugin.
We have something a bit similar with the piano keyboard, see View > Piano or press P.
If you have the current code from git, take a look to pianotool.cpp and seq.cpp.
Feel free to pass by IRC #musescore on freenode.net to discuss the implementation.
In reply to Yes, sure, here is screenshot by 2000music
You do know about http://musescore.org/en/node/7845, don't you?