summaryrefslogtreecommitdiff
path: root/macros/texmuse/Doc/tex/mainloop3.mf
blob: a332fc05a751142b8cc98a76e2ecb96acaefe9c2 (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
mode_setup;
input txmfont;
input texmuse;
instr_no(2);
key_ := 0;
desired_width := desired_width/pt;
staff_1="-1,0,1,2,3";
bar_type1=10;
instr_clef1:= 6;
def shortlii =
   curr_instr:="shortlii;";
   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 shortrii =
   curr_instr:="shortrii;";
   note_[index][instr_]:=currentpicture;
   instr_:=2;
   currentpicture:=note_[index][instr_];
   enddef;
new_char(64);
shortlii;
   add_noteheads(c3);
   regular_stem;
shortrii;
   add_noteheads(c5);
   regular_stem;
end_of_char;
new_char(32);
shortlii;
   add_rest(0,0);
shortrii;
   add_noteheads(e5);
   add_flat(e5);
   regular_stem;
   add_flag(1);
end_of_char;
new_char(32);
shortrii;
   add_noteheads(c5);
   regular_stem;
   add_flag(1);
end_of_char;
new_char(64);
shortlii;
   clef_(0);
   add_noteheads(c4);
   regular_stem;
shortrii;
   add_noteheads(g4);
   regular_stem;
end_of_char;
new_char(64);
shortlii;
   add_rest(0,0);
shortrii;
   add_noteheads(g4);
   regular_stem;
end_of_char;
new_char(0);
end_of_char;
new_char(-least_spaced);
shortlii;
   barline_(10);
shortrii;
   barline_(10);
end_of_char;
 end_of_block; make_line(next_char);
showstats; end.