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 force extra space between scores, and put in a "newscore" line. Then print the titles for the second song. Here is an example:

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

score
	// temporarily force more space between scores for title
	scoresep=30
	// Set up for second song
	time=4/4
	key=1&
music

newscore   // force second song to start on new score

1: d;e;2f;
bar =z
// print title for second song
center (_page.x, z.y + 14) "\s(18)Title for second song";

// put back a more normal score separation
score scoresep=10
music
1: a;2g;4f;
bar
1: 2e;4c;d;
bar
1: 2g;f;
endbar

Picture of Mup output

Mup User's Guide Table of Contents