lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics above context


From: Guy Stalnaker
Subject: Re: Lyrics above context
Date: Wed, 2 Jan 2019 15:30:27 -0600
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

BINGO!

Tyler -- that did it. Again, much thanks.

I need to explore this Dynamics thing. Would be nice to only have to put dynamics etc. in its own place then apply to each "voice". I assume that's what this is for.

Guy

On 1/2/2019 1:02 PM, Tyler Mitchell wrote:
On Wed, Jan 02, 2019 at 08:00:31AM -0600, Guy Stalnaker wrote:
And the answer is, "No, I can't incorporate into the larger score."

Follow-up question then: can this type of Dynamics directive be applied in
a temporary polyphonic passage? Because that's what I'm trying to do. Final
four measures split into two voices, explicitly created:

<<
\new Voice = "Solo" { \voiceOne } \new Voice = "sopranoOoos" { \voiceTwo }

          
If I put \new Dynamics {} before or after either of these two \new Voice
inside the polyphonic code LP puts the dynamics beneath the entire 4-stave
score. If I add \with { alignAboveContext = #"sopranos } LP puts the
dynamics exactly as originally, immediately above the staff, but below the
lyrics, so nothing gained by the added code.
Hi Guy,

My idea would be to have the Dynamics context from the beginning of
your score, and skip over the first chunk:

%%% code begin
\score {
  <<
    \new Dynamics \with { \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #'((padding . 1)) } {
      % Instead of "1" here, you would enter the number of bars you
      % need to skip (ie, the number of bars before this divisi).
      \repeat unfold 1 { s1 | } s2.
      a'4^\mf^\dim ^"Solo, Remaining voices Ooos" \bar "||"
      a'4. bf'8 c''4 a' |
      g'2 f'\p |
    }
    \new Staff = "sopranos" <<
      \new Voice = "Soprano" {
        c''4 a' g' f' | e'2.
        << \new Voice = "Solo"
           { \voiceOne
             {
               \partial 4 a'4 \bar "||"
               a'4. bf'8 c''4 a' |
               g'2 f' |
             }
           }
           \new Lyrics \with { alignAboveContext = #"sopranos" } \lyricsto "Solo" {
             Yet what I can I give Him,
           }
           \new Voice = "sopranoOoos"
           { \voiceTwo
             {
               \partial 4 f'4( ~ |
               f'4. g'8 a'4 f' |
               f'2 d') |
             }
           }
           \new Lyrics \lyricsto "sopranoOoos" { Ooo }
        >> \bar "|."
      }
      \new Lyrics \lyricsto "Soprano" \lyricmode { I would do my part; }
    >>
  >>
  \layout { }
}
%%%% code end

I haven't really tested this but I don't believe it will add any
vertical space in other systems where there are no dynamic markings
in that context (except for maybe the bit of padding, which is a
very small amount, and could even be reduced to 0.5).

Tyler

-- 
“Happiness is the meaning and the purpose of life, the whole aim and end of human existence.”
― Aristotle

reply via email to

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