X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mup/blobdiff_plain/cdb3c0882392596f814cf939cbfbd38adc6f2bfe..ddf6330b56bcfb657e0186b24b9b1422c51d3424:/mup/docs/uguide/multsong.html diff --git a/mup/docs/uguide/multsong.html b/mup/docs/uguide/multsong.html new file mode 100644 index 0000000..66078f8 --- /dev/null +++ b/mup/docs/uguide/multsong.html @@ -0,0 +1,82 @@ + + +Placing several songs on one page + + +

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

+ +

+Placing several songs on one page +

+

+Sometimes you may wish to print more than one song on the same page. +While Mup considers all of its input to be a single song, +it is possible to get the effect of separate songs. +First of all, on the last bar line of first song, use "hidechanges." +That way, if the key or anything is +different in the next song, Mup won't print the changes at the +end of the first song. Then +use a "block" +for printing the titles +for the second song. +Here is an example: +

+score
+	scoresep=10,14
+	label=""
+header
+	title (18) "Title for first song"
+music
+1: c;d;e;f;
+bar
+1: f;e;d;c;
+bar
+1: c;d;e;f;
+bar
+1: f;d;2c;
+endbar
+
+// force time signature to be printed on next score
+// by changing the time, but only for an invisible measure
+score time=5/4n
+music
+1: ms;
+invisbar hidechanges
+
+// Force the block closer to next score,
+// so it will better match the spacing of
+// the title of the first song.
+score scoresep=6,6
+// print title for second song
+block
+title (30) " "   // Allow some extra room above title
+title (18) "Title for second song"
+
+score
+	// Set up for second song
+	time=4/4
+	key=1&
+
+music
+1: d;e;2f;
+bar
+// Put score spacing back to original
+score scoresep=10,14
+music
+1: a;2g;4f;
+bar
+1: 2e;4c;d;
+bar
+1: 2g;f;
+endbar
+

+Picture of Mup output
+

+

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

+