bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entering and leaving polyphony with lyrics behaving oddly


From: Thomas Morley
Subject: Re: Entering and leaving polyphony with lyrics behaving oddly
Date: Tue, 29 Oct 2019 22:20:19 +0100

Hi,

Am Di., 29. Okt. 2019 um 17:09 Uhr schrieb Jacob Page <address@hidden>:
>
> I'm encountering something odd.
>
> \version "2.18.2"

you use stable 2.18.2, nevertheless current devel-version is 2.19.83,
which is meant to be a prerelease for next stable 2.20.
2.19.83 is by no means unstable, furthermore:

>
> \new Staff = "bass" {
>   \time 4/4
>   \clef bass
>   \key g \major
>
>   <<
>     \new Voice = "bs" {
>       \voiceTwo
>       g,1
>     }
>
>     \new Lyrics \lyricsto "bs" {
>       Don't
>     }
>
>     \new Voice = "br" {
>       \voiceOne
>       r4 d2.
>     }
>
>     \new Lyrics \with { alignAboveContext = "bass" } {
>       \lyricsto "br" {
>         it
>       }
>     }
>   >>
>
>   \new Voice = "unis" {
>     \relative c {
>       \oneVoice
>       c4. a8 g2
>     }
>   }
>   \new Lyrics \lyricsto "unis" {
>     seem to go?
>   }
> }
>
> This is outputting the polyphonic measure just fine, but the subsequent
> notes once moving to one voice don't output.

this problem (about dying contexts) is fixed in 2.19.83.
Thus I'd switch to this version.


In general I'd recommend not to created a whole bunch of new contexts
(even of different kind: Voices and Lyrics) while being in another
context.
LilyPond may not be able to sort out what you intend.
Better initiate what you need right from the start (probably keeping
them alive) and distribute content as you like.

<<
    \new Staff = "bass" {
      \time 4/4
      \clef bass
      \key g \major

      <<
        \new Voice = "bs" { \voiceTwo g,1 }
        \new Voice = "br" { \voiceOne r4 d2. }
      >>

      \new Voice = "unis" \relative c { \oneVoice c4. a8 g2 }
    }

    \new Lyrics \lyricsto "bs" { Don't }
    \new Lyrics \with { alignAboveContext = "bass" }  \lyricsto "br" { it }
    \new Lyrics \lyricsto "unis" { seem to go? }
>>

Then it works even for 2.18.2.

Even if LilyPond wasn't able to sort what you entered, I see no bug,
but unfavorable user-input.
Others may differ, though...

Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]