Re: How to recognize Voice-continuation?
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] > 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
Re: How to recognize Voice-continuation?
> Message: 1 > Date: Fri, 27 Mar 2015 02:26:32 +0100 > From: Thomas Morley > 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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to recognize Voice-continuation?
2015-03-27 7:07 GMT+01:00 Keith OHara : > Thomas Morley gmail.com> writes: > >> Any chance to have LilyPond identify the second voice-b as a >> continuation of the first? > > This seems to be analogous to the way we need to keep the staff "alive" > when we temporarily leave a staff empty in piano music. > > \new Staff << > \new Voice = "a" \with { \override NoteHead #'color = #green } > s1*4 > \new Voice ="b" \with { \override NoteHead #'color = #red } > s1*4 > \relative c' { > \context Voice = "a" > { \set tieWaitForNote = ##t c1~ } > \context Voice = "b" > { \set tieWaitForNote = ##t cis4 d dis e^~ } > \context Voice = "a" > { d2 c2 } > \context Voice = "b" > { f4 e fis g } > \context Voice = "a" > { e1 } > } >> Hi Keith, I completely forgot about this possibilty and couldn't find it in the docs during a quick search. Where is it mentioned (I know I've seen it somewhere in the past)? Again, thanks a lot, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to recognize Voice-continuation?
Thomas Morley gmail.com> writes: > Any chance to have LilyPond identify the second voice-b as a > continuation of the first? This seems to be analogous to the way we need to keep the staff "alive" when we temporarily leave a staff empty in piano music. \new Staff << \new Voice = "a" \with { \override NoteHead #'color = #green } s1*4 \new Voice ="b" \with { \override NoteHead #'color = #red } s1*4 \relative c' { \context Voice = "a" { \set tieWaitForNote = ##t c1~ } \context Voice = "b" { \set tieWaitForNote = ##t cis4 d dis e^~ } \context Voice = "a" { d2 c2 } \context Voice = "b" { f4 e fis g } \context Voice = "a" { e1 } } >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to recognize Voice-continuation?
Hi, 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 >> Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user