Which code walks the score during playback

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Which code walks the score during playback

valmirse
Hello everybody,

I'm new by here. I want to develop a feature to play along a score and in the end highlight the notes correct notes with a color the wrong with others and give a score from 0 to 100. To start I have been searching but I didn't find where in the code, the play command walks through the notes and play them.
In the begginning I would create this only for personal use, but if looks good I will submit to approval on the main code.


Someone could help me?
Reply | Threaded
Open this post in threaded view
|

Re: Which code walks the score during playback

lasconic
Administrator
The score is pre render into a midi like data structure. Check rendermidi.cpp
On playback, the midi structure is used to create sound, see seq.cpp
The moving cursor during playback is moving thanks to the heartbeat in seq.cpp.

Hope it helps,
lasconic

2016-08-12 22:03 GMT+02:00 valmirse <[hidden email]>:
Hello everybody,

I'm new by here. I want to develop a feature to play along a score and in
the end highlight the notes correct notes with a color the wrong with others
and give a score from 0 to 100. To start I have been searching but I didn't
find where in the code, the play command walks through the notes and play
them.
In the begginning I would create this only for personal use, but if looks
good I will submit to approval on the main code.


Someone could help me?



--
View this message in context: http://dev-list.musescore.org/Which-code-walks-the-score-during-playback-tp7579987.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer