There is no direct link between a chord and a trill. A Trill (see trill.cpp) is a spanner anchored to segment, so with a start tick and a end tick. You will find them in the _spanner map of the score.
Also as mentioned earlier, there is something for trill playback here: https://github.com/musescore/MuseScore/blob/master/libmscore/cmd.cpp#L273 but it's not working. lasconic 2015-05-28 17:33 GMT+02:00 Jim Newton <[email protected]>: > I'm trying to extend the ornament playback implementation to also work for > line trills. > I see there are several types of these. > Trill::Type::TRILL_LINE, > Trill::Type::UPPRALL_LINE, > Trill::Type::DOWNPRALL_LINE, > Trill::Type::PRALLPRALL_LINE, > Trill::Type::PURE_LINE > > > It is not clear to me however how to find which a trill line is used on a > chord, and thereafter which trill type it is. > Can someone help me figure it out? > > How can I find the trill line object given the chord? > > > > > > -- > View this message in context: > http://dev-list.musescore.org/how-to-find-trill-lines-programmatically-tp7579417.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
