chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / docs / uguide / multsong.html
1 <HTML>
2 <HEAD><TITLE>
3 Placing several songs on one page
4 </TITLE></HEAD>
5 <BODY>
6 <P>
7 &nbsp;&nbsp;&nbsp;<A HREF="tempochg.html">&lt;-- previous page</A>
8
9 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="cadenza.html">next page --&gt;</A>
10 </P>
11           
12 <H2>
13 Placing several songs on one page
14 </H2>
15 <P>
16 Sometimes you may wish to print more than one song on the same page.
17 While Mup considers all of its input to be a single song,
18 it is possible to get the effect of separate songs.
19 First of all, on the last bar line of first song, use &quot;hidechanges.&quot;
20 That way, if the key or anything is
21 different in the next song, Mup won't print the changes at the
22 end of the first song. Then
23 <A HREF="prnttext.html#block">use a "block"</A>
24 for printing the titles
25 for the second song.
26 Here is an example:
27 <BR><PRE>
28 score
29         scoresep=10,14
30         label=&quot;&quot;
31 header
32         title (18) &quot;Title for first song&quot;
33 music
34 1: c;d;e;f;
35 bar
36 1: f;e;d;c;
37 bar
38 1: c;d;e;f;
39 bar
40 1: f;d;2c;
41 endbar
42
43 // force time signature to be printed on next score
44 // by changing the time, but only for an invisible measure
45 score time=5/4n
46 music
47 1: ms;
48 invisbar hidechanges
49
50 // Force the block closer to next score,
51 // so it will better match the spacing of
52 // the title of the first song.
53 score scoresep=6,6
54 // print title for second song
55 block
56 title (30) &quot; &quot;   // Allow some extra room above title
57 title (18) &quot;Title for second song&quot;
58
59 score
60         // Set up for second song
61         time=4/4
62         key=1&amp;
63
64 music
65 1: d;e;2f;
66 bar
67 // Put score spacing back to original
68 score scoresep=10,14
69 music
70 1: a;2g;4f;
71 bar
72 1: 2e;4c;d;
73 bar
74 1: 2g;f;
75 endbar
76 </PRE><BR>
77 <IMG SRC="mugex96.gif" ALT="Picture of Mup output"><BR>
78 </P>
79 <HR><P>
80 &nbsp;&nbsp;&nbsp;<A HREF="tempochg.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="cadenza.html">next page --&gt;</A>
81 </P>
82 </BODY></HTML>