]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
Remove Swallow_engraver/performer and *_swallow_translators.
[lilypond.git] / ly / performer-init.ly
1 %%%% This file is part of LilyPond, the GNU music typesetter.
2 %%%%
3 %%%% Copyright (C) 1996--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
4 %%%%                          Jan Nieuwenhuizen <janneke@gnu.org>
5 %%%%
6 %%%% LilyPond is free software: you can redistribute it and/or modify
7 %%%% it under the terms of the GNU General Public License as published by
8 %%%% the Free Software Foundation, either version 3 of the License, or
9 %%%% (at your option) any later version.
10 %%%%
11 %%%% LilyPond is distributed in the hope that it will be useful,
12 %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
13 %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 %%%% GNU General Public License for more details.
15 %%%%
16 %%%% You should have received a copy of the GNU General Public License
17 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
18
19 \version "2.12.0"
20
21 %%
22 %% setup for Request->Element conversion.
23 %%
24 \context {
25   \type "Performer_group"
26   \name Staff
27   \accepts Voice
28   \accepts CueVoice
29   \defaultchild Voice
30
31   \consists "Staff_performer"
32   \consists "Key_performer"
33 }
34 \context {
35   \name Global
36   \accepts Score
37   \description "Hard coded entry point for LilyPond.  Cannot be tuned."
38 }
39
40 \context {
41   \Staff
42   \name DrumStaff
43   midiInstrument = #"drums"
44   \accepts DrumVoice
45   \defaultchild DrumVoice
46 }
47
48 \context {
49   \type "Performer_group"
50   \name Voice
51   \consists "Dynamic_performer"
52   \consists "Tie_performer"
53   \consists "Piano_pedal_performer"
54   \consists "Note_performer"
55   \consists "Beam_performer"
56   \consists "Slur_performer"
57 }
58
59 \context {
60   \Voice
61   \name CueVoice
62   \alias Voice
63 }
64
65 \context {
66   \Voice
67   \name VaticanaVoice
68   \alias Voice
69 }
70
71 \context {
72   \Voice
73   \remove "Note_performer"
74   \consists "Drum_note_performer"
75   \name DrumVoice
76 }
77
78 \context {
79   \type "Performer_group"
80   \name FiguredBass
81 }
82
83 \context {
84   \type "Performer_group"
85   \name GrandStaff
86   \accepts RhythmicStaff
87   \accepts Staff
88   \accepts Dynamics
89   \defaultchild Staff
90 }
91
92 \context {
93   \type "Performer_group"
94   \name "PianoStaff"
95   \accepts Staff
96   \accepts DrumStaff
97   \defaultchild Staff
98 }
99
100 \context {
101   \Voice
102   \name TabVoice
103 }
104
105 \context {
106   \type "Performer_group"
107   \name "Devnull"
108 }
109
110 \context {
111   \Staff
112   \name TabStaff
113   midiInstrument = #"acoustic guitar (nylon)"
114   \alias Staff
115   \accepts TabVoice
116   \defaultchild TabVoice
117 }
118
119 \context {
120   \type "Performer_group"
121   \name "VaticanaStaff"
122   \alias "Staff"
123   \denies "Voice"
124   \accepts "VaticanaVoice"
125   \defaultchild "VaticanaVoice"
126 }
127
128 \context {
129   \type "Score_performer"
130
131   \name Score
132
133   melismaBusyProperties = #default-melisma-properties
134   instrumentName = #"bright acoustic"
135
136   %% quarter = 60
137   tempoWholesPerMinute = #(ly:make-moment 15 1)
138
139   \accepts Staff
140   \accepts DrumStaff
141   \accepts GrandStaff
142   \accepts PianoStaff
143   \accepts TabStaff
144   \accepts Staff
145   \accepts StaffGroup
146   \accepts Devnull
147   \accepts ChoirStaff
148   \accepts RhythmicStaff
149   \accepts ChordNames
150   \accepts FiguredBass
151   \accepts Lyrics
152   \accepts VaticanaStaff
153
154   \consists "Time_signature_performer"
155   \consists "Control_track_performer"
156   \consists "Tempo_performer"
157   \consists "Timing_translator"
158
159   \defaultchild "Staff"
160
161   dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
162   instrumentEqualizer = #default-instrument-equalizer
163   drumPitchTable = #(alist->hash-table midiDrumPitches)
164   timing = ##t
165 }
166
167
168 \context {
169   \type "Performer_group"
170   \consists "Staff_performer" % Performer_group ?
171   \consists "Lyric_performer"
172   \name Lyrics
173 }
174
175 \context{
176   \type "Performer_group"
177   \name ChoirStaff
178   \accepts Staff
179   \accepts DrumStaff
180   \defaultchild Staff
181 }
182
183 \context {
184   \type "Performer_group"
185   \consists "Staff_performer"
186   \accepts ChordNameVoice
187   \name ChordNames
188 }
189
190 \context {
191   \type "Performer_group"
192   \consists "Note_performer"
193   \name ChordNameVoice
194 }
195
196 \context {
197   \type "Performer_group"
198   \name StaffGroup
199   \accepts Staff
200   \accepts DrumStaff
201   \accepts TabStaff
202   \accepts RhythmicStaff
203   \accepts GrandStaff
204   \accepts PianoStaff
205   \accepts Lyrics
206   \accepts ChordNames
207   \accepts FiguredBass
208   \defaultchild Staff
209 }
210
211 \context {
212   \Staff
213   \name RhythmicStaff
214 }
215
216 \context {
217   \type "Performer_group"
218   \name Dynamics
219   \consists "Piano_pedal_performer"
220 }