lilypond-user
[Top][All Lists]
Advanced

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

voice two but yet stems up towards end of piece with addlyrics


From: Annette Kusma
Subject: voice two but yet stems up towards end of piece with addlyrics
Date: Fri, 25 Oct 2013 22:52:40 +0200

I'm trying to set a piece for SATB choir with two staves with two voices each. I am using the \voiceOne and \voiceTwo commands to get soprano and tenor stems up and alto and bass stems down. This works until the final two parts of the piece in the first of which I use the \addlyrics command to add separate lyrics to the bass voice. I first fixed this additionally using the \stemDown and \slurDown commands inside that very variable, that is, music _expression_ (I have variables for each voice and part of the song), and actually this strangely turned the stems down for the last part as well.

I was content with that solution, although I do not understand why the \addlyrics command should interfere with the \voiceTwo command. Anyway the problem came up again when I suddenly added a grace note to all voices in the beginning of the part with the extra lyrics. I tried putting the \stemDown and \slurDown commands all over the place (both last part variables, inside and outside the variables, in the score block inside the bass staff), nothing helped until I removed the \addlyrics command.

I earlier also tried adding extra lyrics to one alto variable, but the lyrics were printed below the second staff so I've abandoned that for now (using subscript instead). I also had tried adding lyrics to the very last bass variable but when I did so, none of the voices' last variables' music was even printed, neither were the lyrics of course. Now that I played around with it and removed the \addlyrics from the second last bass variable, the one in the last variable works fine, with stems down actually. Adding back the lyrics also to the second last variable makes, as expected from earlier behaviour, the last ones mysteriously disappear entirely and puts stems up. Now putting the \stemDown \slurDown commands at the beginning of the music _expression_ which is the second last variable puts the grace note's stem down, the rest is still up, which is fixed by putting these commands after the grace note as well, yet the added lyrics of the last variable and its music still won't show. I'm not really in the mood right now to try around the possibilities for added lyrics in the alto voice as well.

Is this a bug or am I missing something? Anyway that behaivour does not seem very logical. I try to simplify my example code, but eventually I came to a point where there was a treble clef in the second staff and new treble and bass clefs were printed after the grace note and I really don't have time at this hour of the night to understand where that came from; I clearly state clef types in the score block. That is why I'm leaving the fourth and third last parts of the song in each voice, that is the simplest example code I can produce at the moment. The parts are called SopBOne, SopBThree, SopCBody, SopCTwo and AltBOne and so on for all vour voices.

So here goes:

%%%%%%% Example starts here %%%%%%

\version "2.12.3"
  \header {
    title = "Test voiceTwo yet stems up"
  }


TimeKey = { \time 4/4 \key g \major}


%%%%%%%%%%%%%%%%%%%%%%  S O P R A N  %%%%%%
                       

SopBOne   = \relative c' {
                        % Ref slut 1
                        | fis1( | g'16) r2... % namn

                        }

SopBThree = \relative c' {    
                        % Ref slut 2
                        | f2.( e4 | d16) r2...                             % namn
    }

SopCBody = \relative c' {
                        % Vamp kropp
                        | \grace g'16 r4 d'8 d d4 d8 d8    | c8( b) c d4 bes8 bes bes    % Hosianna i
    }

SopCOne = \relative c' {
                        | c'8( b) c d4 bes8 bes bes  % höjden Davids son!
   
    }

SopCTwo = \relative c' {
                        | c'8( b) c d4 r4.  % höjden,   
    }

Sop = {
    \SopBOne \SopBThree
    \SopCBody \SopCTwo
    }


%%%%%%%%%%%%%%%%%%%%%%  A L T  %%%%%%%%%%%%


AltBOne = \relative c' {
                        % Ref slut 1
                        | dis1( | d16) s2... % namn
                        }

AltBThree = \relative c' {    
                        % Ref slut 2
                        | dis1( | d16) s2...                                                 % namn
                        }

AltCBody = \relative c' {
                        % vamp
%                        \stemDown \slurDown
                        | \grace d16 r8 b'4( a8) b4 g8( d) | d d d d4 d8 d d                % Välsignad
                        }
%            \addlyrics { Väl -- sig -- nad va -- re Han, Da -- vids son! }    % lägg till << >>   

AltCTwo = \relative c' {
                        | e8 eis8\glissando fis4. s4.
                    }   
       

Alt = {
    \AltBOne \AltBThree
    \AltCBody \AltCTwo
    }


%%%%%%%%%%%%%%%%%%%%%%  T E N O R  %%%%%%%%%%%%


TenBOne   = \relative c' {
                        % Ref slut 1
                        | fis,1( | g16) r2... % namn
                        }

TenBThree = \relative c' {    
                        % Ref slut 2
                        | fis,1( | g16) r2...                             % namn
                        }

TenCBody = \relative c' {
                        % vamp
                        | \grace c,16 r8 b b b r d d d | c8. cis8. d4 d8 d d    % Välsignad, välsignad
                        }
                       
TenCTwo = \relative c' {
                        | c8. cis8. d4     % Davids son, Davids son!
    }

Ten = {
    \TenBOne \TenBThree
    \TenCBody \TenCTwo
    }
   
   
%%%%%%%%%%%%%%%%%%%%%%  B A S  %%%%%%%%%%%%


BasBOne   = \relative c' {
                        % Ref slut 1
                        | c'1( | g,16) s2... % namn

                        }

BasBThree = \relative c' {    
                        \stemDown \slurDown
                        % Ref slut 2 = pausen mellan ref och vamp
                        | c'1( | g,16) s2...                         % namn
                        }

BasCBody = << \relative c' {
%                        \stemDown \slurDown
                        | \grace g,16)
                        \stemDown \slurDown
                          s8 g g g s b b b | c8. gis8. a4 g8 g g     % Välsignad, välsignad Davids son, Davids son!
    }
    \addlyrics { Väl -- sig -- nad, väl -- sig -- nad Da -- vids son! Da -- vids son! }
    >> % lägg till << i början.
   
BasCTwo = << \relative c' {
                        | c8. gis8. a4 s4.      % Davids son, Davids son!
    }
    \addlyrics { Da -- vids son! Da -- vids son! }
 >>


Bas = { %\stemDown \slurDown
    \BasBOne \BasBThree
    \BasCBody \BasCTwo
    }


%%%%%%%%%%%%%%%%%%%%%%  S C O R E  %%%%%%%%%%%%


\score {
  \new ChoirStaff
  <<

    \new Staff
    <<
      \clef "treble"
      \new Voice = "Sop"  { \voiceOne \TimeKey
        \Sop
      }
      \new Voice = "Alto" { \voiceTwo
        \Alt
      }
    >>

    \new Staff
    <<
      \clef "bass"
      \new Voice = "Tenor" { \voiceOne \TimeKey
        \Ten
      }
      \new Voice = "Bass"  { \voiceTwo % \stemDown \slurDown
        \Bas
      }
    >>
   
  >>
  \midi { }
  \layout { }
}


%%%%%%% Example ends here %%%%%%

Thanks for any light shed on that weird \addlyrics command.

/Annette

reply via email to

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