view test.mup @ 2:b1aac55d2864

Parameterise page size add some more debugging. Seems to work OK for rests etc
author Daniel O'Connor <darius@dons.net.au>
date Sun, 06 Mar 2016 22:43:28 +1030
parents 0773354c7428
children b9727813e029
line wrap: on
line source

header
	title(22) "Test"

score
	scale = 0.75
	packfact = 0.5
	units = cm
//	pageheight = 29.7
//	pagewidth = 21
	topmargin = 1
	botmargin = 1
	leftmargin = 1
	rightmargin = 1
	measnum = y
	staffs = 1

music

// Put each voice on a different channel
// using a different instrument sound.
// The program numbers correspond to the
// General MIDI sounds as noted.
midi 1 1: 0 "channel=1"; 0 "program=1"; 0 "parameter=10,0";

// Bar 1
1 1:  4a; 4b; 2d;
endbar

// Bar 2
1 1: 4c+#; 4r; 2e;
endbar

// Bar 3
1 1: 4c+; 4r; 2e;
endbar