3 % setup for Request->Element conversion. Guru-only
5 StaffContext = \translator {
6 \type "Staff_performer"
10 \consists "Key_performer"
11 \consists "Tempo_performer"
12 \consists "Time_signature_performer"
13 dynamicStyle = #"dynamic"
15 \translator { \StaffContext }
16 \translator { \StaffContext
21 VoiceContext = \translator {
22 \type "Performer_group_performer"
24 % All notes fall to Grace if you leave Thread out (huh?)
25 \consists "Dynamic_performer"
26 \consists "Span_dynamic_performer"
27 \consists "Piano_pedal_performer"
28 \consists "Note_performer"
29 \consists "Tie_performer"
31 \translator { \VoiceContext }
33 ThreadContext = \translator {
34 \type "Performer_group_performer"
37 \translator { \ThreadContext }
40 \type "Performer_group_performer"
46 \type "Performer_group_performer"
47 \name VoiceTwo\consists "Note_performer"
51 GrandStaffContext = \translator {
52 \type "Performer_group_performer"
54 \accepts RhythmicStaff
57 \translator { \GrandStaffContext }
59 PianoStaffContext = \translator {
60 \type "Performer_group_performer"
64 \translator { \PianoStaffContext }
67 \type "Performer_group_performer"
68 \consists "Lyric_performer"
73 \type "Performer_group_performer"
78 \type "Staff_performer"
81 \consists "Time_signature_performer"
82 \consists "Tempo_performer"
86 \type "Staff_performer"
87 \accepts ChordNameVoice
92 \type Performer_group_performer
93 \consists Note_performer
98 \type Performer_group_performer
104 ScoreContext = \translator {
105 \type "Score_performer"
108 instrument = #"bright acoustic"
115 \accepts RhythmicStaff
117 \consists "Swallow_performer"
119 dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
120 instrumentEqualizer = #default-instrument-equalizer
122 \translator { \ScoreContext }