[Top][All Lists]

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

Re: Unexpected extra measure at end

From: Mats Bengtsson
Subject: Re: Unexpected extra measure at end
Date: Sat, 29 Jan 2005 00:46:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

A Voice context in LilyPond can only contain notes, not lyrics.
I know that this seems unintuitive to some people, but that's the
way it is designed. Also, if you several pieces of music or whatever
within a pair of curly braces {...} in a LilyPond file, it means
"typeset these pieces of music in a sequence after eachother".
If you want several things to happen simultanously, they have to
be included in a <<...>>. So, you instructed LilyPond to insert an
empty bar after the end of the \tenMusic, and so it did.


Arjan Bos wrote:
Dear list,

When creating a score for the choir I'm in, I found out that Lilypond generates an extra measure at the end when the lyrics are defined within the voice. When they are just outside the closing `}' of the voice, the resulting pdf looks the same, except the empty bar at the end has gone.
Is this a bug?

This is the (almost) smallest example I could come up with that still has the problem.

%% -- sniplet begins here
\version "2.4.2"

tenMusic = \notemode  { \relative c' { c4 c c c } }
tenText  = \lyricmode { E -- tra bar. Why? }

\score {
  \context ChoirStaff {
      \context Staff = "ten" {
    \context Voice = "tenors" { \tenMusic }
    %% When put here, the lyrics generate an extra measure at the
    %% end. If they are outside the Voice brackets, it doesn't.
    \context Lyrics = tenorsA { s1 }
      \context Lyrics = tenorsA \lyricsto tenors { \tenText  }

%% --- sniplet ends here



It was funny how people were people everywhere you went, even if the people concerned weren't the people the people who made up the phrase "people are people everywhere" had traditionally thought of as people. And even if you weren't virtuous, as you had been brought up to understand the term, you did like to see virtue in other people, provided it didn't cost you anything.

-- (Terry Pratchett, The Fifth Elephant)

lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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