[Top][All Lists]

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

Re: bar numbering howto?

From: Mats Bengtsson
Subject: Re: bar numbering howto?
Date: Fri, 13 Dec 2002 18:48:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

As Werner pointed out, the most common example of regular numbering
is to number 5, 10, 15, 20, ... I have never seen the scheme implemented
in this patch so please do not include it.

Of course, rehearsal letters or numbers that follow the phrasing or
thematic structure of the piece are preferable, at least in pieces
with a simple structure. However, if you think of pieces by Brahms or
newer, for example, you know that the structure could be very complex
and it's easier to use the regular numbering to make it easy to find any
bar number that the conductor may suggest. In instrumental parts for
film music, for example, I've even seen examples where every bar is


Heikki Johannes Junes wrote:
Instead, what one typically wants is bar numbering at 1, 5, 9, 13, ...

Even more accurately, at 5, 9, 13, 17, ...

A patch ...

$ cvs diff -u share/lilypond/scm/output-lib.scm
Index: share/lilypond/scm/output-lib.scm
RCS file: /cvsroot/lilypond/lilypond/scm/output-lib.scm,v
retrieving revision 1.26
diff -p -u -u -r1.26 output-lib.scm
--- share/lilypond/scm/output-lib.scm   13 Oct 2002 21:58:05 -0000
+++ share/lilypond/scm/output-lib.scm   12 Dec 2002 23:12:45 -0000
@@ -205,7 +205,7 @@ centered, X==1 is at the right, X == -1
          (string-encode-integer (quotient i 26))))))

-(define-public ((every-nth-bar-number-visible n) barnum) (= 0 (modulo barnum 
+(define-public ((every-nth-bar-number-visible n) barnum) (and (> barnum 1) (= 
1 (modulo barnum n))))

 (define-public (default-bar-number-visibility barnum) (> barnum 1))

hmm. It is also worth of knowing how to do these function by one's own.
Maybe there is an example lying somewhere.

      Heikki Junes

Lilypond-devel mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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