lilypond-devel
[Top][All Lists]
Advanced

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

Re: Boxed bar numbers used as rehearsal marks


From: Mats Bengtsson
Subject: Re: Boxed bar numbers used as rehearsal marks
Date: Fri, 12 Nov 2004 10:36:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Actually, the initial mail of this thread contained a better solution
to the problem. Since I weren't used to seeing bar numbers at irregular
intervals and since I first missed that the point was to have boxed
bar numbers instead of boxed letters, I proposed some other solutions.

   /Mats


Paul Scott wrote:
Anthony W. Youngman wrote:

In message <address@hidden>, Mats Bengtsson <address@hidden> writes

Sorry, I'll learn to read some time. However, if you want boxed
bar numbers, then I propose to take a look at the example
bar-number-regular-interval.ly in the Tips and Tricks document,
which automatically gives boxed bar numbers at regular intervals
without any \mark commands in the code.



Except that's NOT what is wanted. What is wanted is a rehearsal mark, which is normally used at the start of a segue or new melody - ie at random not regular intervals.

For example, the piece I've just been doing (admittedly I've been using letters) has marks at various intervals - sometimes 4, often 8, sometimes 12 bars.

And just this evening I've been playing pieces marked up exactly as the OP referred to - using bar numbers as rehearsal marks at random intervals. This is *typical* of medley-style Concert Band pieces.


Since you have to manually place the \mark commands anyway it might not be that much more trouble to just put the bar numbers in manually. You can just put this at the beginning to avoid having to use \markup and \box and \mark
   \override Score.RehearsalMark  #'print-function =
   #(make-stencil-boxer 0.15 0.3 0.3 Text_interface::print)

OTOH if you don't know ahead of time what the bar numbers will be (maybe you want to move things around) it would be great to know how to build an expression which will get the current bar number and put it into the \mark. It looks like Christian might be close. It would be great to have an answer to Christian's original question.

Paul Scott



_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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