lilypond-user
[Top][All Lists]
Advanced

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

Disappearing volta brackets? Need help.


From: Buddha Buck
Subject: Disappearing volta brackets? Need help.
Date: Tue, 28 Mar 2006 10:49:05 -0500

Hi.  I'm trying to typeset some dance music (contradance and waltz) and I'm running into a problem with volta repeat brackets.  Actually, I'm running into a lot of problems (I'm new at lilypond), and I've got them all solved and this volta repeat bracket problem came up.

What I'm trying to do is get chord names above the staff, key of G major, and an alternate ending on part b of the piece.  Here is an abridged snippet of the .ly file I'm working with:

---------------------------
\include "english.ly"

\version "2.7.24"

partA = { <<
     \repeat volta 2 {
       \chords
        { d2.           | g               | a2:m d4          | g2.         \break | }
     }
     \repeat volta 2 {
         \key g \major \relative c'' {
          a4 fs8 g a4   | b d,8 g b4      | c8 b a g fs a    | g2.         |}
     } >>
}
partB = { <<    \chords {
       \repeat volta 2 {
          c2.           | g               |
       }
       \alternative { { a2.:m | d } { a2:m d4 | g2. } }
      }
      \repeat volta 2 {
          \key g \major \relative c'' {
          e4 d8 c b a   | d4 c8 b a g     |  }
      }
      \alternative { { \relative { c'8 b a g fs g   | a4 fs d'} }
                     { \relative { c'8 b a g fs a   | g4 r r  } }
      } >>
}
{
    \time 3/4
%    \partA 
    \partB
}

----------------------------------------
If I run this through lilypond, part B displays correctly (chords above the staff, alternative volta brackets in place, proper key signature, proper time signature, etc.).  If I delete the % commenting out part A, I lose the alternative volta brackets, which is unacceptable.

Why?  And how do I get it to keep the volta brackets, the chords above the staff, and the proper key and time signatures?


reply via email to

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