|
From: | Guy Stalnaker |
Subject: | Re: Lyrics for ossia staff |
Date: | Sun, 3 Jan 2021 14:14:18 -0600 |
%% CODE %%
\version "2.19"\language "english"soprano = {a'2.<<{f'4( ~ |f'4. g'8 a'4 f' ~ |}\new Staff = "Solo" \with { alignAboveContext = #"sopranos" }{\partial 4 \key f \major a'4^"Solo" \bar "||"a'4. bf'8 c''4 a' |}\addlyrics \with { alignBelowContext = #"Solo" } {Yet what I can I give Him,Give my heart.}>>\bar "|."}verseSopranoVoice = \lyricmode {% Lyrics follow here.heart. Ooh __}sopranoVoicePart = \new Staff = "sopranos" \with {} { \soprano }\addlyrics { \verseSopranoVoice }\score {\new ChoirStaff <<\sopranoVoicePart>>\layout { }}
%%CODE%%
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
[Prev in Thread] | Current Thread | [Next in Thread] |