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