Here is a patch to create complex time signatures:
http://codereview.appspot.com/3992042/

Create compound time signatures with the \compoundMeter function. The argument 
is a Scheme list of lists. Each list describes one fraction, with the last 
entry being the denominator, while the first entries describe the summands in 
the enumerator. If the time signature consists of just one fraction, the list 
can be given directly, i.e. not as a list containing a single list.

For example, a time signature of (3+1)/8 + 2/4 would be created as 
\compoundMeter #'((3 1 8) (2 4)), and a time signature of (3+2)/8 as 
\compoundMeter #'((3 2 8)) or shorter \compoundMeter #'(3 2 8).

It is basically the same code as in the LSR snippet, just included directly in 
the lilypond code:
http://lsr.dsi.unimi.it/LSR/Item?u=1&id=743

Any comments?


Cheers,
Reinhold

PS: I chose "compoundMeter", because such complex time signatures do not only 
specify the measure length, but also the beat structure (i.e. the "meter").
Would it be better to call it "compoundTime" instead?
-- 
------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to