2 % setup for Request->Element conversion. Guru-only
4 StaffContext
= \translator {
5 \type "Staff_performer";
9 \accepts VoiceOne;
% ugh.
14 \consists "Key_performer";
15 \consists "Time_signature_performer";
16 \consists "Tempo_performer";
18 \translator { \StaffContext }
20 %% urg, why (needs praeludium-*.ly) these?
23 \type "Performer_group_performer";
24 \consists "Note_performer";
30 \type "Performer_group_performer";
31 \consists "Note_performer";
35 \type "Performer_group_performer";
36 \consists "Note_performer";
40 VoiceContext
= \translator {
41 \type "Performer_group_performer";
43 % All notes fall to Grace if you leave Thread out (huh?)
44 \consists "Grace_position_performer";
48 \translator { \VoiceContext }
50 GraceContext
= \translator {
51 \type "Performer_group_performer";
53 \consists "Note_performer";
54 \consists "Tie_performer";
56 \translator { \GraceContext }
59 \type "Grace_performer_group";
61 \consists "Note_performer";
62 \consists "Tie_performer";
63 weAreGraceContext
= "1";
68 \type "Performer_group_performer";
69 \name VoiceTwo;
\consists "Note_performer";
73 GrandStaffContext
= \translator {
74 \type "Performer_group_performer";
78 \translator { \GrandStaffContext }
80 PianoStaffContext
= \translator {
81 \type "Performer_group_performer";
85 \translator { \PianoStaffContext }
88 \type "Performer_group_performer";
89 \consists "Lyric_performer";
94 \type "Performer_group_performer";
99 \type "Staff_performer";
102 \consists "Time_signature_performer";
103 \consists "Tempo_performer";
107 \type "Staff_performer";
108 \accepts ChordNameVoice;
113 \type Performer
_group
_performer;
114 \consists Note
_performer;
115 \name ChordNameVoice;
119 \type Performer
_group
_performer;
125 ScoreContext
= \translator {
126 \type "Score_performer";
129 instrument
= "bright acoustic";
137 \consists "Swallow_performer";
139 \translator { \ScoreContext }