lilypond-user
[Top][All Lists]
Advanced

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

Bar number inconsistency with repeats and partial bars?


From: Nick Payne
Subject: Bar number inconsistency with repeats and partial bars?
Date: Tue, 14 Aug 2012 21:34:39 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

In the example below, Lilypond doesn't count the initial partial bar when numbering the bars, but the partial bars at the end of the first repeat and beginning of the second repeat each get their own bar number. Commercial scores I have with this repeat structure treat these two bars as though they are one for the purposes of numbering the succeeding bars. To get the same numbering in Lilypond I have to explicitly set the bar numbering at the beginning of the second repeat.

I had a look in Gould but couldn't see any recommendation for how the bars should be numbered in this situation.

\version "2.15.43"

\relative c'' {
    \override Score.BarNumber #'break-visibility = #'#(#t #t #f)
    \repeat volta 2 {
        \partial 4 c4 |
        c c c c |
        \set Score.measureLength = #(ly:make-moment 3 4) c c c |
    }
    \repeat volta 2 {
        \set Score.measureLength = #(ly:make-moment 1 4) c |
%       \set Score.currentBarNumber = #3
        \set Score.measureLength = #(ly:make-moment 4 4) c c c c |
        c c c c |
        \set Score.measureLength = #(ly:make-moment 3 4) c c c |
    }
}



reply via email to

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