Complex compound time signatures: Difference between revisions

Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This snippets implements complex compound time signatures (e.g. (1+3)/8 or (1+3)/8 + 2/4). The function \compoundMeter (defined in the snippet) can be used instead of \time to create those time signatures. 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 <code>\compoundMeter #'((3 1 8) (2 4))</code>, and a time signature of (3+2)/8 as <code>\compoundMeter #'((3 2 8))</code> or shorter <code>\compoundMeter #'(3 2 8)</code>. The beat structure (and thus the automatic beaming) will be derived from the given meter automatically.
This snippets implements complex compound time signatures (e.g. (1+3)/8 or (1+3)/8 + 2/4). The function \compoundMeter (defined in the snippet) can be used instead of \time to create those time signatures. 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 <code>\compoundMeter #'((3 1 8) (2 4))</code>, and a time signature of (3+2)/8 as <code>\compoundMeter #'((3 2 8))</code> or shorter <code>\compoundMeter #'(3 2 8)</code>. The beat structure (and thus the automatic beaming) will be derived from the given meter automatically.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
%% http://lsr.di.unimi.it/LSR/Item?id=743
%% http://lsr.di.unimi.it/LSR/Item?id=743
%% see also http://lsr.di.unimi.it/LSR/Item?id=835
%% see also http://lsr.di.unimi.it/LSR/Item?id=835
Line 177: Line 177:
[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Scheme]]
[[Category:Scheme]]
[[Category:Snippet]]