lilypond-user
[Top][All Lists]
Advanced

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

re: Lyrics for ossia staff


From: Remy CLAVERIE
Subject: re: Lyrics for ossia staff
Date: Sun, 3 Jan 2021 19:30:59 +0100 (CET)

Hi Jerry,

 

Here is a MWE with ossia/lyrics:

 

\version "2.18.2"

OssiaLyrics = \lyricmode {
  Ma -- gni -- fi -- cat
}

\new Staff
<<
  \new Voice \relative c {
    c''4 b d c
    <<
      { c4 b d c }
        \new Staff
        <<
          \new Voice = "V" \relative c'' { e4 d f e }
        >>
    >>
    c4 b c2
  }
  \new Lyrics \lyricsto "V" \OssiaLyrics
>>

 

HTH,

 

Rémy

> Message du 03/01/21 18:22
> De : "JxStarks" <jxstarks@gmail.com>
> A : "lilypond-user" <lilypond-user@gnu.org>
> Copie à :
> Objet : Lyrics for ossia staff
>
>
Hi all,

>
I expect this has been solved somewhere, but I can't find it. The documentation is good at explaining how to do something in isolation, but not so good at explaining how to do something in the middle of a different structure, such as a choir staff.

>
Anyway, I have a choir staff to which I want to add an extra staff for the Soprano I voices. I want the staff to appear at measure 27 and continue until measure 41 and then stop. I want the extra staff to contain both music and lyrics.
>

>
I was able to get the staff and music to work fairly well using a structure suggested in a previous discussion on ossia staves. How can I get lyrics to go with it? The structure follows. Sorry it's so long: I'm not sure where all the commands need to be placed. If there's a more elegant solution, I'm all in favor of it, even if it means restructuring the whole piece:
>

>

\version "2.18.2"

 

\header { }

 

global = {

  \key d \major

  \time 4/4

  \tempo 4=69

  \set Score.markFormatter = #format-mark-box-alphabet }

 

sopI = \relative c'' {

  \global

  \dynamicUp

  Notes and rests.

}

 

ossia = \relative c’’ { \stopStaff s1*25 \startStaff

   Notes and rests for auxiliary staff

   \stopStaff

}

 

verseSopranoVoice = \lyricmode {  Lyrics here. }

 

olyrics = \lyricmode { Auxiliary lyrics here. }

 

altoVoice = same setup as sopI

  verseAltoVoice = same setup as sopI

tenorVoice = same setup as sopI

  verseTenorVoice = same setup as sopI

bassVoice = same setup as sopI

  verseBassVoice = same setup as sopI

 

sopranoVoicePart = <<

  \context Staff  = “top” \with {

    instrumentName = "Sopranos"

    shortInstrumentName = \markup \center-column { "S1" "S2" }

    midiInstrument = "choir aahs"

}  { \new Voice = “1” \sopI }

  <<

    \lyrics {

       \new Lyrics \lyricsto “1” \verseSopranoVoice }

 \new Staff \with {

   alignAbove Context = #”top”

    \remove “Time_signature_engraver”

    \override Clef #’transparent = ##t

   } { \ossia }

  >> 

} 

>> 

 

altoVoicePart = \new Staff \with {

  instrumentName = “Altos”

  shortInstrumentName \ \markup \center-column { “A1” “A2” }

  midiInstrument = “choir aahs”

} { \altoVoice }

 \addlyrics { \verseAltoVoice }

 

tenorVoicePart = same setup as altoVoicePart

bassVoicePart = same setup as altoVoicePart

 

\score {

  <<

    \sopranoVoicePart

    \altoVoicePart

    \tenorVoicePart

    \bassVoicePart

  >>

  \layout { }

  \midi { }

}


>

Thanks,

Jerry Starks
>

 


reply via email to

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