On Sun, May 3, 2015 at 11:59 AM, Jim Newton <[email protected]> wrote:

> Great that is very enlightening. But I think I don’t yet understand “line”.
> Is line some sort of iterator or index into the staff or measure when read
> from left to right?


Are you looking at the code?  It's a simple integer.  0 for the top line of
the staff, then it counts space, line, space, line etc. from there.

What about the segment?  To call the findAccidentalFunction, I apparently
> need the measure, the segment,
> the staffIdx, and the line. (1299 in file edit.cpp).
>

Right, and this is what I meant about not having enough context.  You can't
know the key or accidental  state of a note until you know what segment it
belongs to.  I assume everything you are doing is in rendermidi, so that
shouldn't be a problem.  The notes are already added to chords, which are
already added to segments, which are already added to measures, long before
we trying to deal with playback.

Marc
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to