lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat volta/alternative with voices


From: Ralph Palmer
Subject: Re: Repeat volta/alternative with voices
Date: Mon, 20 Aug 2012 18:04:38 -0400

On Mon, Aug 20, 2012 at 7:20 AM, Zbyszek Loska <address@hidden> wrote:
Hi,
I am not an experienced user of lilypond, but this seems to me
as bug in parser, or, I do not understand something...
======================================
\version "2.15.43"

Upper = \relative c' {
  e2 g |
  \repeat "volta" 2 {
  c2 e |
  }
  \alternative {
    { <g, b> r } |
    { <g b> g } |
  }
}

Lower = \relative c {
  c'2 g |
  \repeat "volta" 2 {
  c2 e |
  }
  \alternative {
    { g, f } |
    { g g } |
  }
    \bar "|."
}

\score {
  \new Staff { << \Upper \\ \Lower >> }
  \layout { }
}
=======================================

Greetings, Zbyszek -

I believe that, if you move
\bar "|." inside the second alternative, the warnings will disappear :

  \alternative {
    { g, f } |
    { g g } |
    \bar "|." 
  }

Ralph
 
--
Ralph Palmer
Brattleboro, VT
USA
address@hidden

reply via email to

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