chiark / gitweb /
Merge branch 'arkkra' into shiny
[mup] / mup / docs / uguide / pianored.html
CommitLineData
69695f33
MW
1<HTML>
2<HEAD><TITLE>
3Automatic 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>
13Automatic piano reduction
14</H2>
15<P>
16Perhaps you'd like a 4-part vocal piece written on 4 separate staffs,
17as well as a piano reduction on two staffs with 2 voices.
18This could be done using:
19<BR><PRE>
20score
21 staffs=6
22 bracket=1-4
23 brace=5-6
24staff 3
25 clef=treble8
26staff 4
27 clef=bass
28staff 5
29 vscheme=2o
30 staffscale=0.75 // make piano staffs a little smaller
31staff 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.
38define S 1 1 &amp; 5 1: @ // soprano
39define A 2 1 &amp; 5 2: @ // alto
40define T 3 1 &amp; 6 1: @ // tenor
41define B 4 1 &amp; 6 2: @ // bass
42
43music
44S 2c+;;
45A 2f;e;
46T 2a;g;
47B 2c;;
48bar
49</PRE><BR>
50<IMG SRC="mugex98.gif" ALT="Picture of Mup output"><BR>
51</P>
52<P>
53This 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.
59define 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
64music
65
66M 2cafc+;cgec+;
67bar
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>