Yes thanks, it is making more and more sense.
But I still haven’t understood what a segment is.
I see a way of getting it of this and that object, but I still don’t know what 
it represents.


> On 03 May 2015, at 18:52, Marc Sabatella [via MuseScore Developer] 
> <ml-node+s685061n7579281...@n2.nabble.com> wrote:
> 
> On Sun, May 3, 2015 at 11:59 AM, Jim Newton <[hidden email] 
> <x-msg://4/user/SendEmail.jtp?type=node&node=7579281&i=0>> 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 
> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y>
> _______________________________________________ 
> Mscore-developer mailing list 
> [hidden email] <x-msg://4/user/SendEmail.jtp?type=node&node=7579281&i=1> 
> https://lists.sourceforge.net/lists/listinfo/mscore-developer 
> <https://lists.sourceforge.net/lists/listinfo/mscore-developer>
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://dev-list.musescore.org/ISO-version-of-diatonicUpDown-which-understands-accidentals-tp7579271p7579281.html
>  
> <http://dev-list.musescore.org/ISO-version-of-diatonicUpDown-which-understands-accidentals-tp7579271p7579281.html>
> To unsubscribe from ISO version of diatonicUpDown which understands 
> accidentals, click here 
> <http://dev-list.musescore.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7579271&code=amlta2EuaXNzeUBnbWFpbC5jb218NzU3OTI3MXwxMTEzNjI0NTI5>.
> NAML 
> <http://dev-list.musescore.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://dev-list.musescore.org/ISO-version-of-diatonicUpDown-which-understands-accidentals-tp7579271p7579282.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to