X-Git-Url: https://git.distorted.org.uk/~mdw/mup/blobdiff_plain/cdb3c0882392596f814cf939cbfbd38adc6f2bfe..ddf6330b56bcfb657e0186b24b9b1422c51d3424:/mup/docs/uguide/pianored.html diff --git a/mup/docs/uguide/pianored.html b/mup/docs/uguide/pianored.html new file mode 100644 index 0000000..ce385e1 --- /dev/null +++ b/mup/docs/uguide/pianored.html @@ -0,0 +1,73 @@ + + +Automatic piano reduction + + +

+   <-- previous page + +     Table of Contents    next page --> +

+ +

+Automatic piano reduction +

+

+Perhaps you'd like a 4-part vocal piece written on 4 separate staffs, +as well as a piano reduction on two staffs with 2 voices. +This could be done using: +

+score
+   staffs=6
+   bracket=1-4
+   brace=5-6
+staff 3
+   clef=treble8
+staff 4
+   clef=bass
+staff 5
+   vscheme=2o
+   staffscale=0.75   // make piano staffs a little smaller
+staff 6
+   clef=bass
+   vscheme=2o
+   staffscale=0.75
+
+// Define macros to put each voice on its own staff
+// plus the appropriate staff/voice of the piano staffs.
+define S 1 1 & 5 1: @  // soprano
+define A 2 1 & 5 2: @  // alto
+define T 3 1 & 6 1: @  // tenor
+define B 4 1 & 6 2: @   // bass
+
+music
+S 2c+;;
+A 2f;e;
+T 2a;g;
+B 2c;;
+bar
+

+Picture of Mup output
+

+

+This can also be done using +chord-at-a-time input style: +

+// Define a macro to put each voice on its own staff
+// plus the appropriate staff/voice of the piano staffs.
+// This example assumes inputting notes from bottom to top.
+define M [ 4 1 & 6 2; \
+           3 1 & 6 1; \
+           2 1 & 5 2; \
+           1 1 & 5 1 ] :   @
+
+music
+
+M 2cafc+;cgec+;
+bar
+

+

+

+   <-- previous page     Table of Contents    next page --> +

+