2 % setup for Request->Element conversion. Guru-only
4 StaffContext = \translator {
5 \type "Staff_performer";
9 \consists "Key_performer";
10 \consists "Tempo_performer";
11 \consists "Time_signature_performer";
12 dynamicStyle = #"dynamic"
14 \translator { \StaffContext }
15 \translator { \StaffContext
20 VoiceContext = \translator {
21 \type "Performer_group_performer";
23 % All notes fall to Grace if you leave Thread out (huh?)
24 \consists "Dynamic_performer";
25 \consists "Span_dynamic_performer";
26 \consists "Piano_pedal_performer";
27 \consists "Grace_position_performer";
31 \translator { \VoiceContext }
33 ThreadContext = \translator {
34 \type "Performer_group_performer";
36 \consists "Note_performer";
37 \consists "Tie_performer";
39 \translator { \ThreadContext }
42 \type "Grace_performer_group";
44 \consists "Note_performer";
45 \consists "Tie_performer";
46 \consists "Swallow_performer";
48 weAreGraceContext = #t
53 \type "Performer_group_performer";
54 \name VoiceTwo;\consists "Note_performer";
58 GrandStaffContext = \translator {
59 \type "Performer_group_performer";
61 \accepts RhythmicStaff;
64 \translator { \GrandStaffContext }
66 PianoStaffContext = \translator {
67 \type "Performer_group_performer";
71 \translator { \PianoStaffContext }
74 \type "Performer_group_performer";
75 \consists "Lyric_performer";
80 \type "Performer_group_performer";
85 \type "Staff_performer";
88 \consists "Time_signature_performer";
89 \consists "Tempo_performer";
93 \type "Staff_performer";
94 \accepts ChordNameVoice;
99 \type Performer_group_performer;
100 \consists Note_performer;
101 \name ChordNameVoice;
105 \type Performer_group_performer;
111 ScoreContext = \translator {
112 \type "Score_performer";
115 instrument = "bright acoustic";
122 \accepts RhythmicStaff;
124 \consists "Swallow_performer";
126 dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
127 instrumentEqualizer = #default-instrument-equaliser
129 \translator { \ScoreContext }