Re: Boxed bar numbers used as rehearsal marks
On 10-Nov-04, at 3:02 AM, Christian Hitz wrote: in wind band music I have encountered four types of rehearsal marks: consecutive letters, consecutive numbers, bar numbers at regular intervals and bar numbers at special places. The first three types are explained in the manual. With the help of the manual I could piece together the fourth type. I think the following example would make a good addition to the Rehearsal mark (5.15.3) or Bar number (5.15.4) section. Thanks! Added in CVS. Cheers, - Graham ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Boxed bar numbers used as rehearsal marks
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 [EMAIL PROTECTED], Mats Bengtsson [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Boxed bar numbers used as rehearsal marks
Mats Bengtsson wrote: 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. I also misread the initial post. I had somehow thought he was saying his code didn't quite work. I will now take his code and put it in my standard include file. Paul ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Boxed bar numbers used as rehearsal marks
Anthony W. Youngman wrote: In message [EMAIL PROTECTED], Mats Bengtsson [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Boxed bar numbers used as rehearsal marks
Hi list, in wind band music I have encountered four types of rehearsal marks: consecutive letters, consecutive numbers, bar numbers at regular intervals and bar numbers at special places. The first three types are explained in the manual. With the help of the manual I could piece together the fourth type. I think the following example would make a good addition to the Rehearsal mark (5.15.3) or Bar number (5.15.4) section. Christian \header { texidoc = Boxed bar numbers used as rehearsal marks } \version 2.4.0 \score { \context Staff \transpose c c' { \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (number-string (ly:context-property context 'currentBarNumber) c1 \bar || \mark \default c1 c1 \mark \default c1 \bar |. } } -- Christian Hitz Unterehrendingen, Switzerland [EMAIL PROTECTED] or [EMAIL PROTECTED] ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Boxed bar numbers used as rehearsal marks
A simplified version of what you wrote can be found in http://lists.gnu.org/archive/html/lilypond-user/2004-09/msg00160.html /Mats Christian Hitz wrote: Hi list, in wind band music I have encountered four types of rehearsal marks: consecutive letters, consecutive numbers, bar numbers at regular intervals and bar numbers at special places. The first three types are explained in the manual. With the help of the manual I could piece together the fourth type. I think the following example would make a good addition to the Rehearsal mark (5.15.3) or Bar number (5.15.4) section. Christian \header { texidoc = Boxed bar numbers used as rehearsal marks } \version 2.4.0 \score { \context Staff \transpose c c' { \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (number-string (ly:context-property context 'currentBarNumber) c1 \bar || \mark \default c1 c1 \mark \default c1 \bar |. } } -- = 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Boxed bar numbers used as rehearsal marks
The main point of my example is that the rehearsal mark is not a consecutive number but the current bar number. Christian Am 10.11.2004 um 12:51 schrieb Mats Bengtsson: A simplified version of what you wrote can be found in http://lists.gnu.org/archive/html/lilypond-user/2004-09/msg00160.html /Mats Christian Hitz wrote: Hi list, in wind band music I have encountered four types of rehearsal marks: consecutive letters, consecutive numbers, bar numbers at regular intervals and bar numbers at special places. The first three types are explained in the manual. With the help of the manual I could piece together the fourth type. I think the following example would make a good addition to the Rehearsal mark (5.15.3) or Bar number (5.15.4) section. Christian \header { texidoc = Boxed bar numbers used as rehearsal marks } \version 2.4.0 \score { \context Staff \transpose c c' { \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (number-string (ly:context-property context 'currentBarNumber) c1 \bar || \mark \default c1 c1 \mark \default c1 \bar |. } } -- Christian Hitz Unterehrendingen, Switzerland [EMAIL PROTECTED] or [EMAIL PROTECTED] ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Boxed bar numbers used as rehearsal marks
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. /Mats Christian Hitz wrote: The main point of my example is that the rehearsal mark is not a consecutive number but the current bar number. Christian Am 10.11.2004 um 12:51 schrieb Mats Bengtsson: A simplified version of what you wrote can be found in http://lists.gnu.org/archive/html/lilypond-user/2004-09/msg00160.html /Mats Christian Hitz wrote: Hi list, in wind band music I have encountered four types of rehearsal marks: consecutive letters, consecutive numbers, bar numbers at regular intervals and bar numbers at special places. The first three types are explained in the manual. With the help of the manual I could piece together the fourth type. I think the following example would make a good addition to the Rehearsal mark (5.15.3) or Bar number (5.15.4) section. Christian \header { texidoc = Boxed bar numbers used as rehearsal marks } \version 2.4.0 \score { \context Staff \transpose c c' { \set Score.markFormatter = #(lambda (mark context) (make-bold-markup (make-box-markup (number-string (ly:context-property context 'currentBarNumber) c1 \bar || \mark \default c1 c1 \mark \default c1 \bar |. } } -- = 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel