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