[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrong alignment when repeating music with different text on one line
From: |
Francisco Vila |
Subject: |
Re: wrong alignment when repeating music with different text on one line |
Date: |
Mon, 17 Oct 2011 12:29:50 +0200 |
2011/10/16 -Eluze <address@hidden>:
>
>
> 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
Re: wrong alignment when repeating music with different text on one line, -Eluze, 2011/10/21
- Re: wrong alignment when repeating music with different text on oneline, Phil Holmes, 2011/10/21
- Re: wrong alignment when repeating music with different text on one line, Graham Percival, 2011/10/21
- Re: wrong alignment when repeating music with different text on one line, -Eluze, 2011/10/22
- nobody cares about LSR, part 2 (was: wrong alignment...), Graham Percival, 2011/10/22
- Re: nobody cares about LSR, part 2 (was: wrong alignment...), Phil Holmes, 2011/10/23