]> git.donarmstrong.com Git - lilypond.git/blob - ly/performer-init.ly
release: 1.5.1
[lilypond.git] / ly / performer-init.ly
1 \version "1.3.146"
2 %
3 % setup for Request->Element conversion. Guru-only
4 %
5 StaffContext = \translator {
6         \type "Staff_performer"
7         \name Staff
8         \accepts Voice
9
10         \consists "Key_performer"
11         \consists "Tempo_performer"
12         \consists "Time_signature_performer"
13         dynamicStyle = #"dynamic"
14 }
15 \translator { \StaffContext }
16 \translator { \StaffContext
17   \name RhythmicStaff
18 }
19
20
21 VoiceContext = \translator {
22         \type "Performer_group_performer"
23         \name Voice
24 % All notes fall to Grace if you leave Thread out (huh?)
25         \consists "Dynamic_performer"
26         \consists "Span_dynamic_performer"
27         \consists "Piano_pedal_performer"
28         \consists "Note_performer"
29         \consists "Tie_performer"
30 }
31 \translator { \VoiceContext }
32
33 ThreadContext = \translator {
34         \type "Performer_group_performer"
35         \name Thread
36 }
37 \translator { \ThreadContext }
38
39 \translator {
40         \type "Performer_group_performer"
41         \name Grace
42 }
43
44 \translator
45 {
46         \type "Performer_group_performer"
47         \name VoiceTwo\consists "Note_performer"
48
49 }
50
51 GrandStaffContext = \translator {
52         \type "Performer_group_performer"
53         \name GrandStaff
54         \accepts RhythmicStaff
55         \accepts Staff
56 }
57 \translator { \GrandStaffContext }
58
59 PianoStaffContext = \translator {
60         \type "Performer_group_performer"
61         \name "PianoStaff"
62         \accepts Staff
63 }
64 \translator { \PianoStaffContext }
65
66 \translator {
67         \type "Performer_group_performer"
68         \consists "Lyric_performer"
69         \name LyricsVoice
70 }
71
72 \translator{
73         \type "Performer_group_performer"
74         \name ChoirStaff
75         \accepts Staff
76 }
77 \translator { 
78         \type "Staff_performer"
79         \accepts LyricsVoice
80         \name Lyrics
81         \consists "Time_signature_performer"
82         \consists "Tempo_performer"
83 }
84
85 \translator {
86         \type "Staff_performer"
87         \accepts ChordNameVoice
88         \name ChordNames
89 }
90
91 \translator {
92         \type Performer_group_performer
93         \consists Note_performer
94         \name ChordNameVoice    
95 }
96
97 \translator {
98         \type Performer_group_performer
99
100         \name StaffGroup
101         \accepts Staff
102 }
103
104 ScoreContext = \translator {
105         \type "Score_performer"
106
107         \name Score
108         instrument = #"bright acoustic"
109         \accepts Staff
110         \accepts GrandStaff
111         \accepts PianoStaff
112         \accepts Lyrics 
113         \accepts StaffGroup
114         \accepts ChoirStaff
115         \accepts RhythmicStaff
116         \accepts ChordNames
117         \consists "Swallow_performer"
118
119         dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
120         instrumentEqualizer = #default-instrument-equalizer
121 }
122 \translator { \ScoreContext }
123