Re: wrong alignment when repeating music with different text on one line
Graham Percival-3 wrote: > > On Fri, Oct 21, 2011 at 01:58:41PM -0700, -Eluze wrote: >> >> sorry to insist on this topic - but since i could not find any >> documentation >> about my approach i would like to make sure it will last longer (at least >> it >> was also working with 2.12.3). > > I haven't been following the discussion, but there's a few simple > steps you can follow: > 1) add a snippet to LSR showing this method. Make sure that the > snippet is tagged with "docs". > 2) wait until it's automatically part of the docs. > 3) propose that we highlight that snippet as part of @snippets for > some doc section instead of just including it in the automatic > snippets. > > It all starts with you adding something to LSR, though. > thanks for clarifying these steps :) 2) means: until it appears in the snippets !? although the snippet i added a few days ago is not approved yet i can see it when browsing the snippets. finally i have to apologize - there is already a snippet mentioning the use of dummy contexts to define their placement before they are filled in. cheers Eluze -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32702622.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
Francisco Vila wrote: > > 2011/10/17 -Eluze : >> yes - but the problem is when they are on the same line! >> >> here is a solution to the problem you mention above. it obviously >> prevents >> the lyrics contexts to die: >> >> \score { >> << >> \new Staff \music >> \new Lyrics = "line1" >> \new Lyrics = "line2" >> \context Lyrics = "line2" \lyricsto "fork" \forklyricsTwo >> \context Lyrics = "line1" \lyricsto "main" \mainlyrics >> \context Lyrics = "line1" \lyricsto "fork" \forklyricsOne >> >> >> } >> > sorry - i barked up the wrong tree! the only thing that matters in this example is to define the lyrics contexts with a name: using << \new Staff \music \context Lyrics = "line1" \lyricsto "main" \mainlyrics \context Lyrics = "line1" \lyricsto "fork" \forklyricsOne \context Lyrics = "line2" \lyricsto "fork" \forklyricsTwo >> is good enough to keep the lyrics on one line (without the 2 dummy \new Lyrics lines)! Eluze -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32702566.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
On Fri, Oct 21, 2011 at 01:58:41PM -0700, -Eluze wrote: > > sorry to insist on this topic - but since i could not find any documentation > about my approach i would like to make sure it will last longer (at least it > was also working with 2.12.3). I haven't been following the discussion, but there's a few simple steps you can follow: 1) add a snippet to LSR showing this method. Make sure that the snippet is tagged with "docs". 2) wait until it's automatically part of the docs. 3) propose that we highlight that snippet as part of @snippets for some doc section instead of just including it in the automatic snippets. It all starts with you adding something to LSR, though. Cheers, - Graham ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
Phil Holmes-2 wrote: > > > This looks to me like correct behaviour. You've created extra Lyrics > contexts, and Lilypond stacks them one above the other. This is as > illustrated in the NR. If I was doing what you're showing, I would use … > hi Phil sorry to insist on this topic - but since i could not find any documentation about my approach i would like to make sure it will last longer (at least it was also working with 2.12.3). there are many advantages with this - beneath the solution for the dying Lyrics contexts (see Francisco' problem) i'd like to specially mention the possibility to define properties in temporary contexts (voices, lyrics, dynamics…) which would remain active also when a context has been closed and reopens. there is also the inconvenience that such contexts must be defined by the user before he can actually start to use it, and the context must be named - maybe a solution to this could be found. is there a reason why this approach is not supported or propagated!? thanks Eluze ps: i'm not so much interested in discussing if it is a bug or not - it is just a difficult situation to handle with the "normal" usage of temporary contexts. pps: on the french Lilypond list there was another real case that could be solved with this approach. -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32699086.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
paconet.org wrote: > > > To reuse existing lyrics contexts -- how clever! > > thanks - just added http://lsr.dsi.unimi.it/LSR/Item?u=1&id=781 -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32671196.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
2011/10/17 -Eluze : > yes - but the problem is when they are on the same line! > > here is a solution to the problem you mention above. it obviously prevents > the lyrics contexts to die: > > \score { > << > \new Staff \music > \new Lyrics = "line1" > \new Lyrics = "line2" > \context Lyrics = "line2" \lyricsto "fork" \forklyricsTwo > \context Lyrics = "line1" \lyricsto "main" \mainlyrics > \context Lyrics = "line1" \lyricsto "fork" \forklyricsOne > >> > } > To reuse existing lyrics contexts -- how clever! -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
paconet.org wrote: > > 2011/10/16 -Eluze : >> >> >> Phil Holmes-2 wrote: >>> >>> This looks to me like correct behaviour. You've created extra Lyrics >>> contexts, and Lilypond stacks them one above the other. This is as >>> illustrated in the NR. If I was doing what you're showing, I would use >>> \skip: >>> >>> << >>> \new Staff { >>> \new Voice = "singleVoice" { >>> \relative c'' { >>> a1 >>> \repeat volta 2 { b } >>> a1 >>> \repeat volta 2 { b } >>> } } } >>> \new Lyrics \lyricsto "singleVoice" { >>> one >>> << >>> { one one one } >>> \new Lyrics { \set associatedVoice = "singleVoice" two \skip 1 >>> two >>> } >>> >> >>> } >>>>> >>> >> thanks for your answer >> >> i agree that i create extra Lyrics contexts (this was just a copy of the >> code found in NR), but when i declare them distinctly i run into the same >> problem: >> >> the lyrics context "2" is now created once as new and later on referenced >> as >> \context … >> >> \new Staff << >> \new Voice = "melody" { >> \relative c'' { >> a1 \repeat volta 2 {a} >> b \repeat volta 2 {b} >> } } >> \new Lyrics ="1" \with{ associatedVoice = "melody" } \lyricmode >> { one >> << >> \context Lyrics = "1" { one } >> \new Lyrics = "2" \with{ associatedVoice = "melody" } { two } >> >> >> one >> << >> \context Lyrics = "1" { one } >> \context Lyrics = "2" \with{ associatedVoice = "melody" } { two } >> >> >> } >>>> >> >> imo all the contexts are declared clearly. >> >> your solution certainly works but i'm not eager to count the measures >> between these events… i could as well use a fully written second lyrics >> voice - and not use the possibility of writing repeated parts as >> presented >> in the NR. > > The issue arose a while ago, > https://lists.gnu.org/archive/html/lilypond-devel/2009-08/msg00428.html > > I'd also like to assign lyrics to voices freely and I expect them to > be aligned in a simple way. Too much cleverness on how to place them > looks misleading to my mind. > > However, if you insert a break in main Voice such as in > > > music = \relative f' { > \new Voice ="main" { c1 c c \break } > \new Voice = "fork" { d1 d d d } > } > > mainlyrics = \lyricmode { main main main } > forklyricsOne = \lyricmode { forkOne forkOne forkOne forkOne } > forklyricsTwo = \lyricmode { forkTwo forkTwo forkTwo forkTwo } > > \score { > << > \new Staff { \music } > \new Lyrics \lyricsto "main" { \mainlyrics } > \new Lyrics \lyricsto "fork" { \forklyricsOne } > \new Lyrics \lyricsto "fork" { \forklyricsTwo } > >> > } > > %END > > then both forks align well. > yes - but the problem is when they are on the same line! here is a solution to the problem you mention above. it obviously prevents the lyrics contexts to die: \score { << \new Staff \music \new Lyrics = "line1" \new Lyrics = "line2" \context Lyrics = "line2" \lyricsto "fork" \forklyricsTwo \context Lyrics = "line1" \lyricsto "main" \mainlyrics \context Lyrics = "line1" \lyricsto "fork" \forklyricsOne >> } now i wonder if there is a way Lilypond could define the 2 \new Lyrics lines automatically! -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32667043.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
2011/10/16 -Eluze : > > > Phil Holmes-2 wrote: >> >> This looks to me like correct behaviour. You've created extra Lyrics >> contexts, and Lilypond stacks them one above the other. This is as >> illustrated in the NR. If I was doing what you're showing, I would use >> \skip: >> >> << >> \new Staff { >> \new Voice = "singleVoice" { >> \relative c'' { >> a1 >> \repeat volta 2 { b } >> a1 >> \repeat volta 2 { b } >> } } } >> \new Lyrics \lyricsto "singleVoice" { >> one >> << >> { one one one } >> \new Lyrics { \set associatedVoice = "singleVoice" two \skip 1 two >> } >> >> >> } >> > thanks for your answer > > i agree that i create extra Lyrics contexts (this was just a copy of the > code found in NR), but when i declare them distinctly i run into the same > problem: > > the lyrics context "2" is now created once as new and later on referenced as > \context … > > \new Staff << > \new Voice = "melody" { > \relative c'' { > a1 \repeat volta 2 {a} > b \repeat volta 2 {b} > } } > \new Lyrics ="1" \with{ associatedVoice = "melody" } \lyricmode > { one > << > \context Lyrics = "1" { one } > \new Lyrics = "2" \with{ associatedVoice = "melody" } { two } > >> > one > << > \context Lyrics = "1" { one } > \context Lyrics = "2" \with{ associatedVoice = "melody" } { two } > >> > } >>> > > imo all the contexts are declared clearly. > > your solution certainly works but i'm not eager to count the measures > between these events… i could as well use a fully written second lyrics > voice - and not use the possibility of writing repeated parts as presented > in the NR. The issue arose a while ago, https://lists.gnu.org/archive/html/lilypond-devel/2009-08/msg00428.html I'd also like to assign lyrics to voices freely and I expect them to be aligned in a simple way. Too much cleverness on how to place them looks misleading to my mind. However, if you insert a break in main Voice such as in music = \relative f' { \new Voice ="main" { c1 c c \break } \new Voice = "fork" { d1 d d d } } mainlyrics = \lyricmode { main main main } forklyricsOne = \lyricmode { forkOne forkOne forkOne forkOne } forklyricsTwo = \lyricmode { forkTwo forkTwo forkTwo forkTwo } \score { << \new Staff { \music } \new Lyrics \lyricsto "main" { \mainlyrics } \new Lyrics \lyricsto "fork" { \forklyricsOne } \new Lyrics \lyricsto "fork" { \forklyricsTwo } >> } %END then both forks align well. -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
Phil Holmes-2 wrote: > > This looks to me like correct behaviour. You've created extra Lyrics > contexts, and Lilypond stacks them one above the other. This is as > illustrated in the NR. If I was doing what you're showing, I would use > \skip: > > << > \new Staff { > \new Voice = "singleVoice" { > \relative c'' { > a1 > \repeat volta 2 { b } > a1 > \repeat volta 2 { b } > } } } > \new Lyrics \lyricsto "singleVoice" { > one > << > { one one one } > \new Lyrics { \set associatedVoice = "singleVoice" two \skip 1 two > } > >> > } >>> > thanks for your answer i agree that i create extra Lyrics contexts (this was just a copy of the code found in NR), but when i declare them distinctly i run into the same problem: the lyrics context "2" is now created once as new and later on referenced as \context … \new Staff << \new Voice = "melody" { \relative c'' { a1 \repeat volta 2 {a} b \repeat volta 2 {b} } } \new Lyrics ="1" \with{ associatedVoice = "melody" } \lyricmode { one << \context Lyrics = "1" { one } \new Lyrics = "2" \with{ associatedVoice = "melody" } { two } >> one << \context Lyrics = "1" { one } \context Lyrics = "2" \with{ associatedVoice = "melody" } { two } >> } >> imo all the contexts are declared clearly. your solution certainly works but i'm not eager to count the measures between these events… i could as well use a fully written second lyrics voice - and not use the possibility of writing repeated parts as presented in the NR. Eluze -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32663264.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: wrong alignment when repeating music with different text on one line
"-Eluze" wrote in message news:32622828.p...@talk.nabble.com... with the following code - derived from the example in NR under Lyrics and Repeats - the text of the 2nd lyric voice is not correctly aligned. this seems to happen when such repeats occur on the same line/system only. Eluze << \new Staff { \new Voice = "singleVoice" { \relative c'' { \repeat unfold 2 { a1 \repeat volta 2 { b } } } } } \new Lyrics \lyricsto "singleVoice" { \repeat unfold 2 { one << { one } \new Lyrics = "2" { \set associatedVoice = "singleVoice" two } >> } } http://old.nabble.com/file/p32622828/test2.png This looks to me like correct behaviour. You've created extra Lyrics contexts, and Lilypond stacks them one above the other. This is as illustrated in the NR. If I was doing what you're showing, I would use \skip: << \new Staff { \new Voice = "singleVoice" { \relative c'' { a1 \repeat volta 2 { b } a1 \repeat volta 2 { b } } } } \new Lyrics \lyricsto "singleVoice" { one << { one one one } \new Lyrics { \set associatedVoice = "singleVoice" two \skip 1 two } >> } -- Phil Holmes Bug Squad ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
wrong alignment when repeating music with different text on one line
with the following code - derived from the example in NR under Lyrics and Repeats - the text of the 2nd lyric voice is not correctly aligned. this seems to happen when such repeats occur on the same line/system only. Eluze << \new Staff { \new Voice = "singleVoice" { \relative c'' { \repeat unfold 2 { a1 \repeat volta 2 { b } } } } } \new Lyrics \lyricsto "singleVoice" { \repeat unfold 2 { one << { one } \new Lyrics = "2" { \set associatedVoice = "singleVoice" two } >> } } >> http://old.nabble.com/file/p32622828/test2.png -- View this message in context: http://old.nabble.com/wrong-alignment-when-repeating-music-with-different-text-on-one-line-tp32622828p32622828.html Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond