[EMAIL PROTECTED] writes:
> Does Lilypond support multiple simultaneous time signatures (e.g.,
> one part written in 3/4 against another part in 4/4)? I've seen modern
> pieces that are notated that way.
>
> I'm asking mostly idly at the moment -- I may eventually have to
> implement such a thing in Denemo, but would be happier not.
>
> I've tried the obvious way of doing it w/ Lily 1.2.17.uu1 (put a
> \time 3/4; in one part and a \time 4/4; in the next), but that didn't work
> - perhaps there's a non-obvious way of doing this?
it's possible to do this, but the noteheads still have equal
duration across staffs. (see below)
Implementing this implies that the code for doing time signatures must
be "relocatable", ie. movable between staff context and score context,
(whatever that is in denemo): so you have to make an extra effort to
modularize bits of denemo--which might be overkill for denemo.
#(set! space-alist (assoc-set! space-alist '("Staff_bar"
"begin-of-note") '(minimum_space 0.0)))
#(set! space-alist (assoc-set! space-alist '("" "Staff_bar")
'(minimum_space 0.0)))
\version "1.3.39"
\score{
\notes \relative c' <
\context Staff= AS {
\time 3/4;
c4 c c | c c c |
}
\context Staff=BS {
\time 2/4;
c4 c | c c | c c
}
% TODO: make c4. here align with c4 there.
\context Staff =CS {
\time 3/8;
c4. c8 c c c4. c8 c c
}
>
\paper{
linewidth = -1.0\cm;
\translator{
\ScoreContext
\remove Timing_engraver;
}
\translator{
\StaffContext
\consists Timing_engraver;
}
}
}
>
> Matt
>
>
--
Han-Wen Nienhuys, [EMAIL PROTECTED] ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html