chiark / gitweb /
Merge branch 'arkkra' into shiny
[mup] / mup / docs / uguide / tempochg.html
diff --git a/mup/docs/uguide/tempochg.html b/mup/docs/uguide/tempochg.html
new file mode 100644 (file)
index 0000000..e94ab8c
--- /dev/null
@@ -0,0 +1,68 @@
+<HTML>
+<HEAD><TITLE>
+Marking complicated tempo changes
+</TITLE></HEAD>
+<BODY>
+<P>
+&nbsp;&nbsp;&nbsp;<A HREF="oddeven.html">&lt;-- previous page</A>
+
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="multsong.html">next page --&gt;</A>
+</P>
+         
+<H2>
+Marking complicated tempo changes
+</H2>
+<P>
+Sometimes you may wish to indicate tempo changes by showing 2 note
+values with an equals sign between them. For simple cases, this is
+fairly straightforward, but if you want to include beamed notes or a triplet,
+a little more work is required. Another use of this notation is to
+show that the music is to be played in &quot;swing time,&quot; as in this example,
+which has two ordinary eight notes on one side of the equals sign,
+and a triplet made up of a quarter and eighth note on the other:
+<BR><PRE>
+score 
+       // This example assumes &quot;size&quot; is set to 15
+       size=15
+       beamstyle=4,4
+
+music
+
+// set a location tag 
+1: [=c] 8c+;a;g;f;
+
+// set X and Y to where the first note will be placed
+define X c.x - 3 @
+define Y c.y + 5 @
+
+// print &quot;straight 8ths = triplet quarter plus 8th&quot;
+
+// print the basic notes and equal sign
+print (X, Y) &quot;\(smup4n)  \(smup4n)  = \(smup4n)  \(smup8n)&quot;
+
+// print the beam between the straight 8th notes
+wide line (X + 2.1, Y + 5.5) to (X + 7.2, Y + 5.5)
+
+// now do the triplet bracket
+line (X + 14.7, Y + 7.0)  to (X + 17.6, Y + 7.0) // horz left top segment
+line (X + 19.4, Y + 7.0)  to (X + 22.5, Y + 7.0) // horz right top segment
+line (X + 14.7, Y + 7.05) to (X + 14.7, Y + 5.3) // vert left side segment
+line (X + 22.5, Y + 7.05) to (X + 22.5, Y + 5.3) // vert right side segment
+
+// print the 3 in the middle of the bracket
+print (X + 17.9, Y + 6.1) &quot;\s(8)\f(TI)3&quot;     // the 3 for the triplet
+
+bar
+</PRE><BR>
+<IMG SRC="mugex95.gif" ALT="Picture of Mup output"><BR>
+</P>
+<P>
+Note that if you want a piece to be played in swing time,
+you may also want to set the
+<A HREF="param.html#swing">swingunit parameter,</A>
+which will make the MIDI output use swing time.
+</P>
+<HR><P>
+&nbsp;&nbsp;&nbsp;<A HREF="oddeven.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="multsong.html">next page --&gt;</A>
+</P>
+</BODY></HTML>