[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:15:08 +0200 |
>> But those values are not retrievable through (ly:context-id context), are
>> they?
>
> They are. LilyPond just does the equivalent of
> << \context Voice = "1" ...
> \context Voice = "2" ...
> \context Voice = "3"
>>>
>
> But this is just ad-hoc for a << \\ \\ >> construct.
So, if I understand this correctly, the following
\new Voice {
}
leaves the context-id empty.
As I have to track them anyhow, I used the (make-object-property) technique to
track the voice even in that case (as well as the parent staff)
Follow up question:
I also want to track lyrics. I already capture the lyric-event and
hyphen-event. Is is possible to find the associated voice through the event?
I tried to read the associatedVoice property, but that seems to be empty.
thanks in advance!
cheers
Maurits
- extending event-listener.ly to include a (numerical) voice id, Maurits Lamers, 2017/10/20
- Re: extending event-listener.ly to include a (numerical) voice id, David Kastrup, 2017/10/20
- Re: extending event-listener.ly to include a (numerical) voice id, Maurits Lamers, 2017/10/20
- Re: extending event-listener.ly to include a (numerical) voice id, David Kastrup, 2017/10/20
- Re: extending event-listener.ly to include a (numerical) voice id,
Maurits Lamers <=
- Re: extending event-listener.ly to include a (numerical) voice id, David Kastrup, 2017/10/21
- Re: extending event-listener.ly to include a (numerical) voice id, Maurits Lamers, 2017/10/21
- Multi-byte characters in Lyrics, Maurits Lamers, 2017/10/26
- Re: Multi-byte characters in Lyrics, Thomas Morley, 2017/10/26
- Re: Multi-byte characters in Lyrics, Maurits Lamers, 2017/10/26
- Re: Multi-byte characters in Lyrics, Henning Hraban Ramm, 2017/10/26
- Re: Multi-byte characters in Lyrics, David Kastrup, 2017/10/26
- Re: Multi-byte characters in Lyrics, Maurits Lamers, 2017/10/26
- Re: Multi-byte characters in Lyrics, David Kastrup, 2017/10/27
- Re: Multi-byte characters in Lyrics, Maurits Lamers, 2017/10/27