]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
* Documentation/topdocs/NEWS.texi (Top): add quarter tones.
[lilypond.git] / ly / performer-init.ly
1 \version "1.9.7"
2
3 %
4 % setup for Request->Element conversion. Guru-only
5 %
6 StaffContext = \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
17 VoiceContext = \translator {
18         \type "Performer_group_performer"
19         \name Voice
20         \consists "Dynamic_performer"
21         \consists "Span_dynamic_performer"
22         \consists "Tie_performer"
23         \consists "Piano_pedal_performer"
24         \accepts "Thread"
25 }
26
27 ThreadContext = \translator {
28         \type "Performer_group_performer"
29         \name Thread
30         \consists "Note_performer"
31 }
32
33 FiguredBassContext = \translator {
34         \type "Performer_group_performer"
35         \name FiguredBass 
36         \consists "Swallow_performer"
37 }
38
39 GrandStaffContext = \translator {
40         \type "Performer_group_performer"
41         \name GrandStaff
42         \accepts RhythmicStaff
43         \accepts Staff
44 }
45
46 PianoStaffContext = \translator {
47         \type "Performer_group_performer"
48         \name "PianoStaff"
49         \accepts Staff
50 }
51
52 TabVoiceContext = \translator {
53         \type "Performer_group_performer"
54         \name "TabVoice"
55         \consists "Swallow_performer"
56 }
57
58 TabStaffContext = \translator {
59         \type "Performer_group_performer"
60         \name "TabStaff"
61         \accepts "TabVoice"
62 }
63
64 ScoreContext = \translator {
65         \type "Score_performer"
66
67         \name Score
68         \alias Timing
69         instrument = #"bright acoustic"
70         \accepts Staff
71         \accepts GrandStaff
72         \accepts PianoStaff
73         \accepts TabStaff
74         \accepts Lyrics 
75         \accepts StaffGroup
76         \accepts ChoirStaff
77         \accepts RhythmicStaff
78         \accepts ChordNames
79         \accepts FiguredBass
80
81         \alias "Timing"
82         \consists "Timing_translator"
83         \consists "Swallow_performer"
84         
85         dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
86         instrumentEqualizer = #default-instrument-equalizer
87 }
88
89
90 \translator {
91         \type "Performer_group_performer"
92         \consists "Lyric_performer"
93         \name LyricsVoice
94 }
95
96 \translator{
97         \type "Performer_group_performer"
98         \name ChoirStaff
99         \accepts Staff
100 }
101
102 \translator {
103         \type "Staff_performer"
104         \accepts LyricsVoice
105         \name Lyrics
106         \consists "Time_signature_performer"
107         \consists "Tempo_performer"
108 }
109
110 \translator {
111         \type "Staff_performer"
112         \accepts ChordNameVoice
113         \name ChordNames
114 }
115
116 \translator {
117         \type "Performer_group_performer"
118         \consists "Note_performer"
119         \name ChordNameVoice    
120 }
121
122 \translator {
123         \type "Performer_group_performer"
124
125         \name StaffGroup
126         \accepts Staff
127 }
128
129
130
131 \translator { \ScoreContext }
132 \translator { \StaffContext }
133 \translator { \StaffContext \name RhythmicStaff }
134 \translator { \VoiceContext }
135 \translator { \ThreadContext }
136 \translator { \PianoStaffContext }
137 \translator { \TabVoiceContext }
138 \translator { \TabStaffContext }
139 \translator { \GrandStaffContext }
140 \translator { \FiguredBassContext }