lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extending event-listener.ly to include a (numerical) voice id


From: Maurits Lamers
Subject: Re: extending event-listener.ly to include a (numerical) voice id
Date: Sat, 21 Oct 2017 13:59:17 +0200

>> I tried to read the associatedVoice property, but that seems to be
>> empty.
> 
> Try the context property associatedVoiceContext .  I think it gets set
> by the iterator resposible for \lyricsto et al, just don't know when.

Just tried it, and it indeed contains the voice context required. In this case 
the lyrics are added through addLyrics.
As far as I have read the code it gets attached when the lyrics context is 
instantiated.
In any case, it gets attached before it is given to the engraver.

Very many thanks!

cheers

Maurits


reply via email to

[Prev in Thread] Current Thread [Next in Thread]