summaryrefslogtreecommitdiff
path: root/macros/texmuse/Doc/tex/mainloop2.mf
blob: ac9d0e180827399a707f2f76445cf78b617b225b (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
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 shortl =
   curr_instr:="shortl;";
   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 shortr =
   curr_instr:="shortr;";
   note_[index][instr_]:=currentpicture;
   instr_:=2;
   currentpicture:=note_[index][instr_];
   enddef;
new_char(64);
shortl;
   add_noteheads(c3);
   regular_stem;
shortr;
   add_noteheads(c5);
   regular_stem;
end_of_char;
new_char(32);
shortl;
   add_rest(0,0);
shortr;
   add_noteheads(e5);
end_of_char;
new_char(32);
shortr;
   add_noteheads(c5);
   beam(2,1,1,e5,3,1,1,c5);
end_of_char;
new_char(64);
shortl;
   add_noteheads(c3);
   regular_stem;
shortr;
   add_noteheads(g4);
   regular_stem;
end_of_char;
new_char(64);
shortl;
   add_rest(0,0);
shortr;
   add_noteheads(g4);
   regular_stem;
end_of_char;
new_char(0);
end_of_char;
new_char(-least_spaced);
shortl;
   barline_(10);
shortr;
   barline_(10);
end_of_char;
 end_of_block; make_line(next_char);
showstats; end.