view test.mup @ 38:9e8ed92b477c

Re-jig note translation to only happen when we are going to emit a note. This fixes "note_off with no note_on" cases (iWriteMusic likes to emit these for rests). This means some messages have untransposed notes but we draw the line because they only have to be transposed because of limitations in the organ so before that they are are untransposed (except for the bulk adjustment)
author Daniel O'Connor <darius@dons.net.au>
date Mon, 23 May 2016 22:35:44 +0930
parents b9727813e029
children
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:  1a;
endbar

// Bar 2
1 1: 1b;
endbar

// Bar 3
1 1: 1c;
endbar

// Bar 4
1 1:  1d;
endbar

// Bar 5
1 1:  1e;
endbar

// Bar 6
1 1:  1f;
endbar

// Bar 7
1 1:  1g;
endbar

// Bar 8
1 1:  1a-;
endbar

// Bar 9
1 1:  1b-;
endbar

// Bar 10
1 1:  1c+;
endbar

// Bar 11
1 1:  1d+;
endbar

// Bar 12
1 1:  1e;
endbar