The e will come after the last tied note, so it looks like it's working as 
expected. 

 - Abraham

Sent from my iPhone

> On Mar 27, 2015, at 9:23 AM, Patrick Karl [via Lilypond] 
> <ml-node+s1069038n173764...@n5.nabble.com> wrote:
> 
>> Message: 1
>> Date: Fri, 27 Mar 2015 02:26:32 +0100
>> From: Thomas Morley <[hidden email]>
>> Subject: How to recognize Voice-continuation?
> 
>> consider the (artificial) code below.
>> In my naivity I expected that voice-b would be recognized as it works
>> for voice-a
>> I.e. the three triggering features (tieWaitForNote, NoteHead.colors
>> and assigned Lyrics) would work for the second appearance of voice-b.
>> Any chance to have LilyPond identify the second voice-b as a
>> continuation of the first?
>> 
>> \version "2.19.17"
>> 
>> lyrI =
>> \lyricmode { one two three }
>> 
>> lyrII =
>> \lyricmode { a b c d  e f g h  i j k l  m n o p }
>> 
>> <<
>> \new Staff
>>  \relative c' {
>>    \new Voice = "a"
>>    \with { \override NoteHead #'color = #green }
>>    { \set tieWaitForNote = ##t c1~ }
>> 
>>    \new Voice = "b"
>>    \with { \override NoteHead #'color = #red }
>>    { \set tieWaitForNote = ##t cis4 d dis e~ }
>> 
>>    \context Voice = "a"
>>    { d2 c2 }
>> 
>>    \context Voice = "b"
>>    { f4 e fis g }
>> 
>>    \context Voice = "a"
>>    { e1 }
>>  }
>> \new Lyrics \lyricsto "a" \lyrI
>> \new Lyrics \lyricsto "b" \lyrII
>> >>
> 
> I'm sure you have a good reason to write it that way, but why not do:
> 
> \version "2.19.17"
> 
> lyrI =
> \lyricmode { one two }
> 
> lyrII =
> \lyricmode { a b c d  e f  }
> 
> <<
> \new Staff
>  \relative c' {
>      <<
>    \new Voice = "a"
>    \with { \override NoteHead #'color = #green }
>    { \set tieWaitForNote = ##t c1~ s1 d2 c s1 e }
> 
>    \new Voice = "b"
>    \with { \override NoteHead #'color = #red }
>    { \set tieWaitForNote = ##t s1 cis4 d dis \tieUp e~  s1 f4 e fis g }
>      >>
>  }
> \new Lyrics \lyricsto "a" \lyrI
> \new Lyrics \lyricsto "b" \lyrII
> >>
> 
> which gives:
> 
> 
> 
> But that result does seem to raise another question.  Are the lyrics assigned 
> correctly to the notes?  Shouldn't the first note in measure 4 get the "e"?  
> BTW, Keith's solution results in the same lyrics assignment as the one above.
> 
> 
> _______________________________________________ 
> lilypond-user mailing list 
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://lilypond.1069038.n5.nabble.com/How-to-recognize-Voice-continuation-tp173738p173764.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com 
> To unsubscribe from Lilypond, click here.
> NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-recognize-Voice-continuation-tp173738p173765.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to