[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Re: Variable length bars
From: |
Malte Meyn |
Subject: |
Fwd: Re: Variable length bars |
Date: |
Fri, 27 Jun 2014 10:28:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Forgot CC …
-------- Original Message --------
Subject: Re: Variable length bars
Date: Fri, 27 Jun 2014 08:10:52 +0200
From: Malte Meyn <address@hidden>
To: Patrick or Cynthia Karl <address@hidden>
You don’t even need the \set Timing.measureLength, a \time command will
do the same when you set the TimeSignature.stencil to false:
\version "2.19.6"
#(define ((num-double-time-signature num1 den1 num2 den2) grob)
(grob-interpret-markup grob
(markup #:override '(baseline-skip . 0) #:number
(#:line (
(#:center-column (num1 den1))
(#:center-column (num2 den2))
)))))
#(define ((glyph-double-time-signature glyph num den) grob)
(grob-interpret-markup grob
(markup #:override '(baseline-skip . 0) #:number
(#:line (
(markup (#:musicglyph glyph))
(#:center-column (num den))
)))))
\relative c' {
\override Staff.TimeSignature.stencil = ##f
\once \override Staff.TimeSignature.stencil =
#(num-double-time-signature "4" "4" "6" "4")
\time 4/4
c4 d e f
\time 6/4
g f e f e d
\time 4/4
c d e d
\once \override Staff.TimeSignature.stencil =
#(glyph-double-time-signature "timesig.C44" "6" "4")
\time 4/4
c4 d e f
\time 6/4
g f e f e d
\time 4/4
c d e f
}
This is my solution to a very similar problem in the German LilyPond
forum (www.lilypondforum.de/index.php?topic=1639.msg9143#msg9143)
On 26.06.2014 23:53, Patrick or Cynthia Karl wrote:
I'm trying to set a John Dowland piece (Come Ye Heavy States of Night) which has a single
initial time signature of "4/2 2/2" followed by measures that are either 4
half-note beats or 2 half-note beats long, in quasi-random fashion.
It's clear that if I can get that time signature printed, I can set the piece
by appropriate use of \set Timing.measureLength.
Can anyone point me to a way to do that?
Thanks
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
- Variable length bars, Patrick or Cynthia Karl, 2014/06/26
- Fwd: Re: Variable length bars,
Malte Meyn <=