[Top][All Lists]

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

Issue 2059 in lilypond: Bar numbering of alternatives

From: lilypond
Subject: Issue 2059 in lilypond: Bar numbering of alternatives
Date: Mon, 28 Nov 2011 08:40:54 +0000

Status: Accepted
Owner: ----
Labels: Type-Enhancement

New issue 2059 by address@hidden: Bar numbering of alternatives

Requested by Xavier Scheuer address@hidden

This is by far the most popular enhancement request from the French
users mailing list: Bar numbering of repeat volta _alternatives_.

Currently LilyPond counts the measures of each "alternative" as
normal, unrepeated, measures hence incrementing the currentBarNumber
in both alternative "1." and "2.".  Several references supports what is
actually asked by many users: bar numbering of alternatives should not
be counted twice.


\version "2.15.20"

\relative c' {
 \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
 \repeat volta 2 {
   c1 |  % 1
   c1 |  % 2
   c1 |  % 3
 \alternative {
     c1 |  % currenlty: 4  % request: 4 or 4a
     c1 |  % currently: 5  % request: 4 or 4b !!
 c1^"currently: 6  request: 5 !!" |  % currently: 6  % request: 5 !!
 c1 |  % currently: 7  % request: 6
 % etc.


Please do not discard this (popular) request again.
I'd suggest to have _at least_ the possibility to switch on this
feature, for example via a variable setting such as
 \set barNumberAlternativeOnce = ##t

Well-know music publishing houses that use this numbering includes
Simrock, Breitkopf, Bärenreiter, Henle.

E.g. Henle et Breitkopf: |1. 34 | 35 :||2. 34 | 35 etc.,
Bärenreiter: |1. 34a | 35a :|| 2. 34b | 35b.

I do not know what say music engraving books like Ross, Read or Gould
but here is what says Jean-Pierre Coulon in his "Repository of
music-notation mistakes" or "Essay on the true art of music engraving":

 "When first ending-second ending measures are present, measure numbers
 of only the first ending measure act on the numbering. If necessary,
 corresponding measure numbers have the subscripts a and b."

Section 5.4 page 9.

And here are some messages of users supporting this request.

lilypond-user-fr (in French):


The implementation and what to do in the case of alternatives of
different measures duration are open to discussion.
But keep in mind that in 90% of the cases there are only 2 alternatives
which have the same measures duration.  In the remaining cases
the first alternative is often the shortest.

Thanks for your attention.

Xavier (and many French users)

reply via email to

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