7 <A HREF="crossbar.html"><-- previous page</A>
9 <A HREF="index.html">Table of Contents</A> <A HREF="oddeven.html">next page --></A>
16 <A NAME="mixdtime">Once in a while, music is written with different</A>
18 on different staffs. Mup does not support this directly,
19 but it is possible to simulate it
20 for the case where the time signatures reduce to the same value, for example,
21 3/4 and 6/8 time (since 6/8 taken as a fraction and reduced to lowest terms
22 is 3/4). You can make the output use both 3/4 and 6/8 by using a non-printing
23 time signature, then placing the time signatures manually.
24 Here is an example of how to do that:
27 // set time signature to 3/4 but don't print it
32 // We want this staff to be in 3/4 time,
33 // so beam things in groups of
34 // quarter note times.
38 // We want this staff to effectively be
39 // in 6/8 time, so we'll beam things
40 // in groups of dotted quarters.
42 // In real 6/8 time, the time unit would
43 // be eighth note, so make that the default
48 // Add padding to the first chord on at least one
49 // of the staffs, to make room for the manually placed
50 // time signatures, and set location tags
51 1: [pad 5; =t] c; 8d; e; f; g;
54 // Manually place the time signatures
55 // They are printed in 16-point newcentury bold font,
56 // relative to the location tags that were set.
57 // First print the 3/4
58 print (t.w - 4, t.y) "\f(newcentury bold)\s(16)3";
59 print (t.w - 4, t.y - 4) "\f(newcentury bold)\s(16)4";
62 print (t.w - 4, s.y) "\f(newcentury bold)\s(16)6";
63 print (t.w - 4, s.y - 4) "\f(newcentury bold)\s(16)8";
66 <IMG SRC="mugex94.gif" ALT="Picture of Mup output"><BR>
69 <A HREF="crossbar.html"><-- previous page</A> <A HREF="index.html">Table of Contents</A> <A HREF="oddeven.html">next page --></A>