lilypond-user
[Top][All Lists]
Advanced

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

Re: \addlyrics in ossia staff


From: Lukas-Fabian Moser
Subject: Re: \addlyrics in ossia staff
Date: Sun, 19 Sep 2021 15:28:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Peter,


Am 19.09.21 um 15:15 schrieb Peter Toye:
I'm trying to set a passage of vocal music with a short solo line. But the example below shows that the lyric is not attached to the correct staff. Any ideas how to get it right simply?

That's a matter of naming the ossia staff and using alignBelowContext for the lyrics.

But I modified your snippet a bit: I removed a number of superfluous brace pairs { }, and it's not necessary anymore to put quotes "" around context names.


\version "2.22.1"

\language "english"

\new Staff = tutti-staff
<<
  \new Voice = tutti-voice
  \relative {
    c'4 d e f |
    <<
      {
        g f e d |
        c d e f |
      }
      \new Staff = ossiastaff \with {
        \remove "Time_signature_engraver"
        firstClef = ##f
        alignAboveContext = tutti-staff
      } \relative {
        b'4 a g f |
        e f g a |
      }
      \addlyrics \with { alignBelowContext = ossiastaff } {
        So -- lo so -- lo so -- lo so -- lo
      }
    >>
    g f e d |
  }

  \new Lyrics \lyricsto tutti-voice {
    Tut -- ti tut -- ti  tut -- ti tut -- ti
    Tut -- ti tut -- ti  tut -- ti tut -- ti
  }
>>


Actually, I don't think removing the Time_signature_engraver is really correct for an ossia staff, because if a time signature change were to happen during an ossia, it should be printed in the ossia staff. But I admit that it's quite hard to design ossia staves in a "universally correct" way, and it's probably best to use shortcuts like you did in music not containig complications like these.


Lukas


reply via email to

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