The spanners (crescendo, trills, etc...) are in SpannerMap _spanner in the
Score object. SpannerMap derives from std::multimap<int, Spanner*>.
Where the index is the start tick of the spanner. Grep _spanner or
SpannerMap or spannerMap() to find out more. or check how crescendo are
taken into account in rendermidi.cpp.

lasconic

2015-05-28 18:29 GMT+02:00 Jim Newton <jimka.i...@gmail.com>:

> I must admit that code snippet you sent me is very difficult for me to
> read.
>
> I don't see how to get from the segment to the spanner,  is it in the
> element list?
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/how-to-find-trill-lines-programmatically-tp7579417p7579427.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