lilypond-user
[Top][All Lists]
Advanced

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

Odd interaction berween \alternative and bar line


From: Peter Toye
Subject: Odd interaction berween \alternative and bar line
Date: Mon, 28 Nov 2016 14:51:55 +0000

The snippet below gives an error:

warning: More alternatives than repeats.  Junking excess alternatives
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers

Comment out the bar line and it's OK. Anyone any idea what's going on?

\version "2.18.2"

\language "english"

\score {
   \new PianoStaff  <<
     \new Staff = "lh"
     {
       \clef bass
       \relative c
       {
         \repeat volta 2 {
           c1
         }
         \alternative {
           <g, g'>
          |        %comment this out and it's OK
           <a a'>
         }
         d'1
       }
     }
   >>
}

Regards,

Peter
mailto:address@hidden
www.ptoye.com
reply via email to

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