]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / ly / performer-init.ly
1 \version "2.7.39"
2
3 %%
4 %% setup for Request->Element conversion. 
5 %%
6 \context {
7     \type "Performer_group"
8     \name Staff
9     \accepts Voice
10     \defaultchild Voice
11     
12     \consists "Staff_performer"
13     \consists "Key_performer"
14     \consists "Tempo_performer"
15     \consists "Time_signature_performer"
16 }
17 \context {
18     \name Global
19     \accepts Score
20 \description "Hard coded entry point for LilyPond. Cannot be tuned."
21     }
22
23 \context {
24     \Staff
25     \name DrumStaff
26     midiInstrument = #"drums"
27     \accepts DrumVoice
28     \defaultchild DrumVoice
29 }
30
31 \context {
32     \type "Performer_group"
33     \name Voice
34     % The order of the dynamic performers is significant: absolute dynamic events must override crescendo events in midi.
35     \consists "Span_dynamic_performer"
36     \consists "Dynamic_performer"
37     \consists "Tie_performer"
38     \consists "Piano_pedal_performer"
39     \consists "Note_performer"
40     \consists "Beam_performer"
41     \consists "Slur_performer"
42     \consists "Melisma_translator"
43 }
44
45 \context {
46   \Voice
47   \name CueVoice
48   \alias Voice
49 }
50
51 \context {
52     \Voice
53     \remove "Note_performer"
54     \consists "Drum_note_performer" 
55     \name DrumVoice
56 }
57
58 \context {
59     \type "Performer_group"
60     \name FiguredBass 
61     \consists "Swallow_performer"
62 }
63
64 \context {
65     \type "Performer_group"
66     \name GrandStaff
67     \accepts RhythmicStaff
68     \accepts Staff
69     \defaultchild Staff
70 }
71
72 \context {
73     \type "Performer_group"
74     \name "PianoStaff"
75     \accepts Staff
76     \accepts DrumStaff
77     \defaultchild Staff
78 }
79
80 \context {
81     \type "Performer_group"
82     \name "TabVoice"
83     \consists "Swallow_performer"
84 }
85
86 \context {
87     \type "Performer_group"
88     \name "Devnull"
89     \consists "Swallow_performer"
90 }
91 \context {
92     \type "Performer_group"
93     \name "TabStaff"
94     \accepts "TabVoice"
95     \defaultchild "TabVoice"
96 }
97
98 \context {
99     \type "Score_performer"
100
101     \name Score
102     
103     melismaBusyProperties = #default-melisma-properties
104     instrument = #"bright acoustic"
105     \accepts Staff
106     \accepts DrumStaff
107     \accepts GrandStaff
108     \accepts PianoStaff
109     \accepts TabStaff
110     \accepts Staff
111     \accepts StaffGroup
112     \accepts Devnull
113     \accepts ChoirStaff
114     \accepts RhythmicStaff
115     \accepts ChordNames
116     \accepts FiguredBass
117     \accepts Lyrics
118     
119     \consists "Timing_translator"
120     \consists "Swallow_performer"
121
122     \defaultchild "Staff"
123     
124     dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
125     instrumentEqualizer = #default-instrument-equalizer
126     drumPitchTable = #(alist->hash-table midiDrumPitches)
127     timing = ##t 
128 }
129
130
131 \context {
132     \type "Performer_group"
133     \consists "Staff_performer" % Performer_group ?
134     \consists "Lyric_performer"
135     \name Lyrics
136     \consists "Time_signature_performer"
137     \consists "Tempo_performer"
138 }
139
140 \context{
141     \type "Performer_group"
142     \name ChoirStaff
143     \accepts Staff
144     \accepts DrumStaff
145     \defaultchild Staff
146
147 }
148
149
150
151 \context {
152     \type "Performer_group"
153     \consists "Staff_performer"
154     \accepts ChordNameVoice
155     \name ChordNames
156 }
157
158 \context {
159     \type "Performer_group"
160     \consists "Note_performer"
161     \name ChordNameVoice        
162 }
163
164 \context {
165     \type "Performer_group"
166
167     \name StaffGroup
168     \accepts Staff
169     \accepts DrumStaff
170
171     \defaultchild Staff
172 }
173
174 \context { \Staff \name RhythmicStaff }
175
176