chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / docs / uguide / pianored.html
1 <HTML>
2 <HEAD><TITLE>
3 Automatic piano reduction
4 </TITLE></HEAD>
5 <BODY>
6 <P>
7 &nbsp;&nbsp;&nbsp;<A HREF="verses.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="slashmrk.html">next page --&gt;</A>
10 </P>
11          
12 <H2>
13 Automatic piano reduction
14 </H2>
15 <P>
16 Perhaps you'd like a 4-part vocal piece written on 4 separate staffs,
17 as well as a piano reduction on two staffs with 2 voices.
18 This could be done using:
19 <BR><PRE>
20 score
21    staffs=6
22    bracket=1-4
23    brace=5-6
24 staff 3
25    clef=treble8
26 staff 4
27    clef=bass
28 staff 5
29    vscheme=2o
30    staffscale=0.75   // make piano staffs a little smaller
31 staff 6
32    clef=bass
33    vscheme=2o
34    staffscale=0.75
35
36 // Define macros to put each voice on its own staff
37 // plus the appropriate staff/voice of the piano staffs.
38 define S 1 1 &amp; 5 1: @  // soprano
39 define A 2 1 &amp; 5 2: @  // alto
40 define T 3 1 &amp; 6 1: @  // tenor
41 define B 4 1 &amp; 6 2: @   // bass
42
43 music
44 S 2c+;;
45 A 2f;e;
46 T 2a;g;
47 B 2c;;
48 bar
49 </PRE><BR>
50 <IMG SRC="mugex98.gif" ALT="Picture of Mup output"><BR>
51 </P>
52 <P>
53 This can also be done using
54 <A HREF="altinp.html">chord-at-a-time input style:</A>
55 <BR><PRE>
56 // Define a macro to put each voice on its own staff
57 // plus the appropriate staff/voice of the piano staffs.
58 // This example assumes inputting notes from bottom to top.
59 define M [ 4 1 &amp; 6 2; \
60            3 1 &amp; 6 1; \
61            2 1 &amp; 5 2; \
62            1 1 &amp; 5 1 ] :   @
63
64 music
65
66 M 2cafc+;cgec+;
67 bar
68 </PRE><BR>
69 </P>
70 <HR><P>
71 &nbsp;&nbsp;&nbsp;<A HREF="verses.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="slashmrk.html">next page --&gt;</A>
72 </P>
73 </BODY></HTML>