How to get a Tick or ChordRest or Segment from a LyricsLineSegment element?

• Jul 27, 2016 - 01:04

After further review this works differently than I imagined. So the question is not as relevant as I thought it was. LyricsLineSegments are only for multi-syllable words, not multi-note syllables, which must have explicit lyrics if they want that kind of display. i.e. nevermind
The primary way to get the tick for an element is to search it's ancestors for a Segment, then get the tick from there (e->isSegment() == true, see Element::tick(), for example).
The parent of elements of type LYRICSLINE_SEGMENT is a System, which is not in any way related to time, ticks, segments or chordrests.
Do LyricsLineSegments have any relation to time and ticks and segments? Or are they just graphic elements owned by the system, not even by the staff? Some line segments are simply to indicate that the word has multiple syllables. Others are for sustained syllables over multiple notes, and I would think that each of those would be tied to that ChordRest internally. But I don't see that happening in the code, so I'm asking for clarification here.
Thanks!

Do you still have an unanswered question? Please log in first to post your question.