I don't understand.  Are you saying your own function is trying to use
"line" as the way of knowing which notes you yourself have not processed
yet?  That sounds unlikely to work.

If you are syaing you think there is some sort of problem with now
addNote(0 works, can you give steps to reproduce the problem?

On Sun, Aug 2, 2015 at 8:27 AM Jim Newton <[email protected]> wrote:

> I'm working on a function which extends (adds notes to) some chords
> according
> to a particular algorithm.
> I'm using the function chord->score()->addNote() to insert the notes.
> Unfortunately, this function creates notes whose note->line() is 0.  I
> guess
> this gets rectified later.
>
> This poses a problem, because as the function proceeds, it cannot determine
> which notes are really on line=0, and which just have line=0 because they
> have not been "finalized" yet.
>
> Does anyone know how to either force the line calculation to occur and
> note->_line to get set, OR how to determine if a given note has not yet
> been
> "finalized"?
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/note-not-yet-ready-tp7579475.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to