]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
9255018689bc8ab9e52083f997822e12fb66a842
[lilypond.git] / ly / performer-init.ly
1 \version "2.1.19"
2
3                                 %
4                                 % setup for Request->Element conversion. Guru-only
5                                 %
6 \translator {
7     \type "Staff_performer"
8     \name Staff
9     \accepts Voice
10
11     \consists "Key_performer"
12     \consists "Tempo_performer"
13     \consists "Time_signature_performer"
14
15 }
16 \translator {
17     \StaffContext
18     \name DrumStaff
19     midiInstrument = #"drums"
20     \accepts DrumVoice
21 }
22
23 \translator {
24     \type "Performer_group_performer"
25     \name Voice
26     \consists "Dynamic_performer"
27     \consists "Span_dynamic_performer"
28     \consists "Tie_performer"
29     \consists "Piano_pedal_performer"
30 }
31
32 \translator {
33     \VoiceContext
34     \remove "Note_performer"
35     \consists "Drum_note_performer" 
36     \name DrumVoice
37 }
38
39 \translator {
40     \type "Performer_group_performer"
41     \name Voice
42     \consists "Note_performer"
43 }
44
45 \translator {
46     \type "Performer_group_performer"
47     \name FiguredBass 
48     \consists "Swallow_performer"
49 }
50
51 \translator {
52     \type "Performer_group_performer"
53     \name GrandStaff
54     \accepts RhythmicStaff
55     \accepts Staff
56 }
57
58 \translator {
59     \type "Performer_group_performer"
60     \name "PianoStaff"
61     \accepts Staff
62     \accepts DrumStaff
63 }
64
65 \translator {
66     \type "Performer_group_performer"
67     \name "TabVoice"
68     \consists "Swallow_performer"
69 }
70
71 \translator {
72     \type "Performer_group_performer"
73     \name "Devnull"
74     \consists "Swallow_performer"
75 }
76 \translator {
77     \type "Performer_group_performer"
78     \name "TabStaff"
79     \accepts "TabVoice"
80 }
81
82 \translator {
83     \type "Score_performer"
84
85     \name Score
86     \alias Timing
87     instrument = #"bright acoustic"
88     \accepts Staff
89     \accepts DrumStaff
90     \accepts GrandStaff
91     \accepts PianoStaff
92     \accepts TabStaff
93     \accepts Staff
94     \accepts StaffGroup
95     \accepts Devnull
96     \accepts ChoirStaff
97     \accepts RhythmicStaff
98     \accepts ChordNames
99     \accepts FiguredBass
100     \accepts LyricsVoice
101     \alias "Timing"
102     \consists "Timing_translator"
103     \consists "Swallow_performer"
104     
105     dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
106     instrumentEqualizer = #default-instrument-equalizer
107     drumPitchTable = #(alist->hash-table midiDrumPitches) 
108 }
109
110
111 \translator {
112     \type "Staff_performer" % Performer_group_performer ?
113     \consists "Lyric_performer"
114     \name LyricsVoice
115     \consists "Time_signature_performer"
116     \consists "Tempo_performer"
117 }
118
119 \translator{
120     \type "Performer_group_performer"
121     \name ChoirStaff
122     \accepts Staff
123     \accepts DrumStaff
124 }
125
126
127 \translator {
128     \type "Staff_performer"
129     \accepts ChordNameVoice
130     \name ChordNames
131 }
132
133 \translator {
134     \type "Performer_group_performer"
135     \consists "Note_performer"
136     \name ChordNameVoice        
137 }
138
139 \translator {
140     \type "Performer_group_performer"
141
142     \name StaffGroup
143     \accepts Staff
144     \accepts DrumStaff
145 }
146
147 \translator { \StaffContext \name RhythmicStaff }
148
149