]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
0735bce8f11ed7920ad47a857664cd351704fe66
[lilypond.git] / ly / performer-init.ly
1 \version "1.5.68"
2 %
3 % setup for Request->Element conversion. Guru-only
4 %
5 StaffContext = \translator {
6         \type "Staff_performer"
7         \name Staff
8         \accepts Voice
9
10         \consists "Key_performer"
11         \consists "Tempo_performer"
12         \consists "Time_signature_performer"
13
14 }
15 \translator { \StaffContext }
16 \translator { \StaffContext
17   \name RhythmicStaff
18 }
19
20
21 VoiceContext = \translator {
22         \type "Performer_group_performer"
23         \name Voice
24         \consists "Dynamic_performer"
25         \consists "Span_dynamic_performer"
26         \consists "Piano_pedal_performer"
27         \accepts "Thread"
28 }
29 \translator { \VoiceContext }
30
31 ThreadContext = \translator {
32         \type "Performer_group_performer"
33         \name Thread
34         \consists "Note_performer"
35         \consists "Tie_performer"
36 }
37 \translator { \ThreadContext }
38
39 % retain for compatibility reasons (FIXME: convert-ly)
40 \translator {
41         \type "Performer_group_performer"
42         \name Grace
43 }
44
45 \translator
46 {
47         \type "Performer_group_performer"
48         \name VoiceTwo\consists "Note_performer"
49
50 }
51
52 GrandStaffContext = \translator {
53         \type "Performer_group_performer"
54         \name GrandStaff
55         \accepts RhythmicStaff
56         \accepts Staff
57 }
58 \translator { \GrandStaffContext }
59
60 PianoStaffContext = \translator {
61         \type "Performer_group_performer"
62         \name "PianoStaff"
63         \accepts Staff
64 }
65 \translator { \PianoStaffContext }
66
67 \translator {
68         \type "Performer_group_performer"
69         \consists "Lyric_performer"
70         \name LyricsVoice
71 }
72
73 \translator{
74         \type "Performer_group_performer"
75         \name ChoirStaff
76         \accepts Staff
77 }
78 \translator { 
79         \type "Staff_performer"
80         \accepts LyricsVoice
81         \name Lyrics
82         \consists "Time_signature_performer"
83         \consists "Tempo_performer"
84 }
85
86 \translator {
87         \type "Staff_performer"
88         \accepts ChordNameVoice
89         \name ChordNames
90 }
91
92 \translator {
93         \type Performer_group_performer
94         \consists Note_performer
95         \name ChordNameVoice    
96 }
97
98 \translator {
99         \type Performer_group_performer
100
101         \name StaffGroup
102         \accepts Staff
103 }
104
105 ScoreContext = \translator {
106         \type "Score_performer"
107
108         \name Score
109         \alias Timing
110         instrument = #"bright acoustic"
111         \accepts Staff
112         \accepts GrandStaff
113         \accepts PianoStaff
114         \accepts Lyrics 
115         \accepts StaffGroup
116         \accepts ChoirStaff
117         \accepts RhythmicStaff
118         \accepts ChordNames
119         \alias "Timing"
120         \consists "Timing_translator"
121         \consists "Swallow_performer"
122         
123         dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
124         instrumentEqualizer = #default-instrument-equalizer
125 }
126 \translator { \ScoreContext }
127