Hi,
I guess you are more interested in the "horizontal" order than the
"vertical" order. So to continue on Marc's answer, Chord contains Notes.
Even a single note is in a Chord. These Chord are in Segments. The Segments
are vertical "slices" of music.
Have a look here for information
https://musescore.org/en/developers-handbook/references/musescore-internal-score-representation
lasconic
2017-11-10 4:55 GMT+08:00 Marc Sabatella <[email protected]>:
> I'm not quite sure what you are asking here. Notes do not belong to a
> staff, they belong to a chord. A Chord object contains an array of Note
> objects (Chord::_notes). As per the comment in chord.h, this array is
> sorted according to staff line number. Changing this order breaks the
> layout algorithms in numerous ways; you can't do that. Nor is clear why
> you'd want to.
>
> So let's step back and ask the bigger picture question: what are you
> actually trying to accomplish here?
>
> Marc
>
> On Thu, Nov 9, 2017 at 12:51 PM jsvgoncalves <[email protected]>
> wrote:
>
>> Hi,
>>
>> I would like to get some pointers to the underlying data structure of the
>> "note order"? i.e., how are the notes sequentially ordered on the staff
>> and
>> how can I change it?
>>
>> Thanks,
>> João
>>
>>
>>
>> --
>> Sent from: http://dev-list.musescore.org/
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Mscore-developer mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer