]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / ly / performer-init.ly
1 %%%% This file is part of LilyPond, the GNU music typesetter.
2 %%%%
3 %%%% Copyright (C) 1996--2010 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 FretBoards
86 }
87
88 \context {
89   \type "Performer_group"
90   \name GrandStaff
91   \accepts RhythmicStaff
92   \accepts Staff
93   \accepts Dynamics
94   \defaultchild Staff
95 }
96
97 \context {
98   \type "Performer_group"
99   \name "PianoStaff"
100   \accepts Staff
101   \accepts DrumStaff
102   \defaultchild Staff
103 }
104
105 \context {
106   \Voice
107   \name TabVoice
108 }
109
110 \context {
111   \type "Performer_group"
112   \name "Devnull"
113 }
114
115 \context {
116   \Staff
117   \name TabStaff
118   midiInstrument = #"acoustic guitar (nylon)"
119   \alias Staff
120   \accepts TabVoice
121   \defaultchild TabVoice
122 }
123
124 \context {
125   \type "Performer_group"
126   \name "VaticanaStaff"
127   \alias "Staff"
128   \denies "Voice"
129   \accepts "VaticanaVoice"
130   \defaultchild "VaticanaVoice"
131 }
132
133 \context {
134   \type "Score_performer"
135
136   \name Score
137
138   melismaBusyProperties = #default-melisma-properties
139   instrumentName = #"bright acoustic"
140
141   %% quarter = 60
142   tempoWholesPerMinute = #(ly:make-moment 15 1)
143
144   \accepts Staff
145   \accepts DrumStaff
146   \accepts GrandStaff
147   \accepts PianoStaff
148   \accepts TabStaff
149   \accepts StaffGroup
150   \accepts Devnull
151   \accepts ChoirStaff
152   \accepts RhythmicStaff
153   \accepts ChordNames
154   \accepts FiguredBass
155   \accepts FretBoards
156   \accepts Lyrics
157   \accepts VaticanaStaff
158
159   \consists "Time_signature_performer"
160   \consists "Control_track_performer"
161   \consists "Tempo_performer"
162   \consists "Timing_translator"
163
164   \defaultchild "Staff"
165
166   dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
167   instrumentEqualizer = #default-instrument-equalizer
168   drumPitchTable = #(alist->hash-table midiDrumPitches)
169   timing = ##t
170 }
171
172
173 \context {
174   \type "Performer_group"
175   \consists "Staff_performer" % Performer_group ?
176   \consists "Lyric_performer"
177   \name Lyrics
178 }
179
180 \context{
181   \type "Performer_group"
182   \name ChoirStaff
183   \accepts Staff
184   \accepts DrumStaff
185   \defaultchild Staff
186 }
187
188 \context {
189   \type "Performer_group"
190   \consists "Staff_performer"
191   \accepts ChordNameVoice
192   \name ChordNames
193 }
194
195 \context {
196   \type "Performer_group"
197   \consists "Note_performer"
198   \name ChordNameVoice
199 }
200
201 \context {
202   \type "Performer_group"
203   \name StaffGroup
204   \accepts Staff
205   \accepts DrumStaff
206   \accepts TabStaff
207   \accepts RhythmicStaff
208   \accepts GrandStaff
209   \accepts PianoStaff
210   \accepts Lyrics
211   \accepts ChordNames
212   \accepts FiguredBass
213   \accepts FretBoards
214   \defaultchild Staff
215 }
216
217 \context {
218   \Staff
219   \name RhythmicStaff
220 }
221
222 \context {
223   \type "Performer_group"
224   \name Dynamics
225   \consists "Piano_pedal_performer"
226 }