This was recently fixed in the docs; I believe that this kind of thing is the proper notation:

     \new Staff {
       \partial 4 e |
       \repeat volta 2 { c2 d2 | e2 f2 | }
       \alternative { { g4 g g e } { a a a a | b2. } }
     }

I get horribly confused when dealing with repeats and upbeats, but you could search the mailist archives to see what other people said about this case (IIRC, it was about one month ago).

Cheers,
- Graham


Steven Weber wrote:
Lilypond 2.11.28, Windows XP

When I compile the following snippet, I get a  warning: barcheck failed at:
-3/4 (on the first c1 in part).  The pdf output is correct, and when I
generated a midi file, it sounded correct as well.  I've also tried
decorating the part section with all the \partial, \repeat, and \alternative
syntax, but still get the same warning.  Any idea what's going on here?

\version "2.11.28"

\paper { ragged-right = ##t }

global =

{

\time 4/4

\partial 4 s4 |

                \repeat volta 2 { s1 | }

                \alternative

                {

                                { \partial 4*3 s2. | }

                                { s1 | }

                }

}

part = \relative c''

{

                c4 |

                c1 |

                c2. |

                c1 |

}

\score

{

                \new Staff

                <<

                                \global

                                \part

                >>

}

--Steven

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond




_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to