I'd still like to understand the broader context - what in general are you
actualy trying to accomplish (a new feature? a bug fix? can you explain how
a user would take advantage of the code you are adding?)

Assuming you are talking about something having to do with playback, then
layout is completed by the time your code is actived, meaning you should
have all the information you need, but it still just isn't clear at all
what you are actually trying to do.

On Tue, Aug 18, 2015 at 3:06 AM Jim Newton <jimka.i...@gmail.com> wrote:

> Hi Maurizio, can you give me more information about what you are referring
> to
> here:  how to sue the tpc for line computation?  Are these types which have
> integer-like arithmetic defined on them?
>
> For example given a note in G clef of an F instrument like the English
> Horn,
> how can I find out whether it is a 3rd or a 5th above a note in the F clef
> of a C instrument such as Bassoon?  Additionally how can I know if a note
> has been altered from the key signature by an accidental earlier in the
> measure using tpc?
>
> I'm currently doing these calculations simulating what the human would do
> by
> counting the lines and spaces between the notes as written.  This has the
> advantage of an F# and a Gb appear on different lines which makes such line
> based calculations unambiguous.  E.g., If I want to add a note on line 7 of
> the G clef, it is an F (perhaps flat or sharp or double flat or double
> sharp).   If I want to know whether the note should have an accidental, I
> need to loop backwards in the measure to see if another note is on the same
> line=7. A 3rd above that F would be the note on line 7-3+1=5.
>
> Perhaps these types of calculations can be done easier with tpc.  If so I'd
> like to better understand how.
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/note-not-yet-ready-tp7579475p7579494.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to