lilypond-user
[Top][All Lists]
Advanced

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

Repeats - Strange behavior??


From: Chris Trahan
Subject: Repeats - Strange behavior??
Date: Tue, 27 Jan 2015 16:35:13 -0600

I have two examples in the following code. 

The fist one shows a repeated section starting at measure 4.

The second shows the same code, except that a double bar ends measure 3.  In this case, the repeated section is not correct.

Is this a bug or by design?

\version "2.18.2"
\language "english"

\score {
  \relative c'' {
    \repeat unfold 3 {c d e f} \break
    \repeat volta 2 {
      s4^"Correct Repeat"
      \repeat unfold 3 {g a b c}
    }
  }
}

\score {
  \relative c'' {
    %% When a double bar is added, the repeat is not correct.
    \repeat unfold 3 {c d e f} \bar "||" \break
    \repeat volta 2 {
      s4^"Not correct"
      \repeat unfold 3 {g a b c}
    }
  }
}

Thanks,
Chris

reply via email to

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