[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time signature in French baroque music
From: |
Gilles Sadowski |
Subject: |
Re: Time signature in French baroque music |
Date: |
Fri, 29 Dec 2006 14:29:51 +0100 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Hi.
> I'm editing an early-18th-century French composition.
> As in French baroque music 3/4 time is written just by a great "3", I'd
> like to know if it exist in LilyPond a command to this sign.
>
Some time ago, I had asked how to define a compound time signature. I got
some hints but couldn't quite obtain the right result.
For your question, the following snippet might be a start but you'll see
that something is missing from the incantation.
%---BEGIN--
\version "2.8.7"
#(define (single-number grob one)
(let* ((layout (ly:grob-layout grob))
(text (interpret-markup
layout
(ly:grob-alist-chain grob (ly:output-def-lookup layout
'text-font-defaults))
(markup (#:number one)))))
text))
theMusic = \relative c'' {
\time 3/4
\override Staff.TimeSignature #'stencil =
#(lambda (grob) (single-number grob "3"))
a4 b g | f4 g2 |
}
\score {
\theMusic
\layout {}
}
%---END---
For my own problem, can someone help me out? [I wonder why there
is still no easy way to create those time signatures.]
This is what I tried:
%---BEGIN---
#(define (compound-time-2 grob one two three four)
(let* ((layout (ly:grob-layout grob))
(text (interpret-markup
layout
(ly:grob-alist-chain grob (ly:output-def-lookup layout
'text-font-defaults))
(markup
#:line
(#:column (#:number one #:number two)
#:hspace -1 #:lower 0.5 "+"
#:column (#:number three #:number four))))))
text))
%---END---
Thanks and best regards (and Happy New Year),
Gilles