summaryrefslogtreecommitdiff
path: root/macros/texmuse/Samples/tex/cmajor3.mf
blob: f40a03de5ed93029bc06e828d0bbbe8d4aba5a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
mode_setup;
input txmfont;
input texmuse;
instr_no(2);
key_ := 0;
desired_width := 469.75499pt/pt;
staff_1="-1,0,1,2,3";
bar_type1=10;
instr_clef1:= 6;
def lefthand =
   curr_instr:="lefthand;";
   note_[index][instr_]:=currentpicture;
   instr_:=1;
   currentpicture:=note_[index][instr_];
   enddef;
staff_2="-1,0,1,2,3";
bar_type2=10;
instr_clef2:= 0;
def righthand =
   curr_instr:="righthand;";
   note_[index][instr_]:=currentpicture;
   instr_:=2;
   currentpicture:=note_[index][instr_];
   enddef;
new_char(16);
lefthand;
   add_noteheads(e3);
righthand;
   add_noteheads(c5);
end_of_char;
new_char(16);
righthand;
   add_noteheads(b5);
   add_flat(b5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(c3);
righthand;
   add_noteheads(a5);
end_of_char;
new_char(16);
righthand;
   add_noteheads(g4);
   beam(1,2,1,c5,2,2,1,b5,3,2,1,a5,4,2,1,g4);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(d3);
righthand;
   add_noteheads(f4);
end_of_char;
new_char(16);
righthand;
   add_noteheads(a5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(e3);
   beam(1,1,1,e3,3,1,1,c3,5,1,1,d3,7,1,1,e3);
righthand;
   add_noteheads(g4);
end_of_char;
new_char(16);
righthand;
   add_noteheads(b5);
   beam(5,2,1,f4,6,2,1,a5,7,2,1,g4,8,2,1,b5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(f3);
righthand;
   add_noteheads(a5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(d3);
righthand;
   add_noteheads(b5);
   add_natural(b5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(e3);
righthand;
   add_noteheads(c5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(f3);
   beam(9,2,1,f3,10,2,1,d3,11,2,1,e3,12,2,1,f3);
righthand;
   add_noteheads(d4);
   beam(9,2,1,a5,10,2,1,b5,11,2,1,c5,12,2,1,d4);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(g3);
righthand;
   add_noteheads(d4);
end_of_char;
new_char(16);
righthand;
   add_noteheads(c5);
end_of_char;
new_char(16);
lefthand;
   add_noteheads(g2);
   beam(13,1,1,g3,15,1,1,g2);
righthand;
   add_noteheads(f4);
end_of_char;
new_char(16);
righthand;
   add_noteheads(b5);
   beam(13,2,1,d4,14,2,1,c5,15,2,1,f4,16,2,1,b5);
end_of_char;
new_char(-least_spaced);
lefthand;
   barline_(10);
righthand;
   barline_(10);
end_of_char;
end_of_block;
new_char(256);
lefthand;
   add_wholeheads(c2);
righthand;
   add_wholeheads(c5);
end_of_char;
new_char(-least_spaced);
lefthand;
   barline_(20);
righthand;
   barline_(20);
end_of_char;
numeric desired_width; end_of_block; make_line(next_char);
showstats; end.