Import upstream version 5.3.
[mup] / mup / docs / uguide / muspaper.html
1 <HTML>
2 <HEAD><TITLE>
3 Generating blank staff paper
4 </TITLE></HEAD>
5 <BODY>
6 <P>
7 &nbsp;&nbsp;&nbsp;<A HREF="heeltoe.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="pstools.html">next page --&gt;</A>
10 </P>
11
12 <H2>
13 Generating blank staff paper
14 </H2>
15 <P>
16 It is possible to use Mup to generate
17 blank music staff paper.
18 You simply use an input file that contains
19 <A HREF="chordinp.html#measdur">measure spaces,</A>
20 each ending with an
21 <A HREF="invisbar.html">invisbar.</A>
22 You can control whether you want
23 <A HREF="param.html#clef">clefs,</A>
24 <A HREF="param.html#time">time signatures,</A>
25 <A HREF="param.html#brace">braces,</A>
26 etc., and can control the spacing of staffs using
27 <A HREF="param.html#scoresep">the scoresep parameter.</A>
28 Here is a simple input that will generate a page with 8 completely
29 blank staffs.
30 <BR><PRE>
31 score
32 scoresep=9,100 // spread staffs out nicely
33 stafflines=5n // don't print any clefs
34 label=&quot;&quot; // make sure left edges line up both on first
35 label2=&quot;&quot; // and on subsequent lines
36 topmargin=1 // allow extra margin to write in header/footer
37 bottommargin=1
38 time=4/4n // don't print any time signature
39 music
40
41 define SCORE
42 1: ms;
43 invisbar // no bar line at the end of the staff
44 @
45
46 define SCORE_NEWSCORE
47 SCORE
48 newscore
49 @
50
51 // print 8 staffs, with newscore between each
52 SCORE_NEWSCORE
53 SCORE_NEWSCORE
54 SCORE_NEWSCORE
55 SCORE_NEWSCORE
56 SCORE_NEWSCORE
57 SCORE_NEWSCORE
58 SCORE_NEWSCORE
59 SCORE
60 </PRE><BR>
61 </P>
62 <HR><P>
63 &nbsp;&nbsp;&nbsp;<A HREF="heeltoe.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="pstools.html">next page --&gt;</A>
64 </P>
65 </BODY></HTML>