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";
17 dynamicStyle = #"dynamic"
19 \translator { \StaffContext }
21 %% urg, why (needs praeludium-*.ly) these?
24 \type "Performer_group_performer";
25 \consists "Note_performer";
31 \type "Performer_group_performer";
32 \consists "Note_performer";
36 \type "Performer_group_performer";
37 \consists "Note_performer";
41 VoiceContext = \translator {
42 \type "Performer_group_performer";
44 % All notes fall to Grace if you leave Thread out (huh?)
45 \consists "Dynamic_performer"; % must come before text_engraver.
46 \consists "Grace_position_performer";
50 \translator { \VoiceContext }
52 GraceContext = \translator {
53 \type "Performer_group_performer";
55 \consists "Note_performer";
56 \consists "Tie_performer";
58 \translator { \GraceContext }
61 \type "Grace_performer_group";
63 \consists "Note_performer";
64 \consists "Tie_performer";
65 weAreGraceContext = "1";
70 \type "Performer_group_performer";
71 \name VoiceTwo;\consists "Note_performer";
75 GrandStaffContext = \translator {
76 \type "Performer_group_performer";
80 \translator { \GrandStaffContext }
82 PianoStaffContext = \translator {
83 \type "Performer_group_performer";
87 \translator { \PianoStaffContext }
90 \type "Performer_group_performer";
91 \consists "Lyric_performer";
96 \type "Performer_group_performer";
101 \type "Staff_performer";
104 \consists "Time_signature_performer";
105 \consists "Tempo_performer";
109 \type "Staff_performer";
110 \accepts ChordNameVoice;
115 \type Performer_group_performer;
116 \consists Note_performer;
117 \name ChordNameVoice;
121 \type Performer_group_performer;
127 ScoreContext = \translator {
128 \type "Score_performer";
131 instrument = "bright acoustic";
139 \consists "Swallow_performer";
141 \translator { \ScoreContext }