1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "contexts-and-engravers"
9 Del problema central de la notación, esto es, crear un determinado
10 símbolo, se encargan los «plugins» o complementos añadidos. Cada
11 uno de los complementos se conoce como un grabador. En este
12 ejemplo, los grabadores se van activando uno por uno, en el orden
15 - cabeza de las notas,
17 - el símbolo del pentagrama,
23 - barras, ligaduras de expresión, acentos,
25 - alteraciones, líneas divisorias, indicación del compás, y armadura.
27 Los grabadores se encuentran agrupados. Por ejemplo, las cabezas
28 de nota, ligaduras de expresión, barras de corchea, etc. forman un
29 contexto de voz. Los grabadores de la armadura, alteraciones,
30 compás, etc. forman un contexto de pentagrama.
32 Sólo podemos ver el primer ejemplo en este documento; para ver los
33 demás debemos descartar el fragmento de código y procesarlo en
37 doctitlees = "Los grabadores, uno por uno"
40 The notation problem, creating a certain symbol, is handled by plugins.
41 Each plugin is called an Engraver. In this example, engravers are
42 switched on one by one, in the following order:
56 - beams, slurs, accents,
59 - accidentals, bar lines, time signature, and key signature.
63 Engravers are grouped. For example, note heads, slurs, beams etc. form
64 a Voice context. Engravers for key, accidental, bar, etc. form a Staff
68 You may only see the first example in this document; please download
69 this snippet and run it from your own computer.
72 doctitle = "Engravers one-by-one"
75 topVoice = \relative c' {
83 botVoice = \relative c' {
87 es16[-. es-. es-. fis-.]
112 % setup for Request->Element conversion. Guru-only
116 \type "Engraver_group"
119 \description "Handles clefs, bar lines, keys, accidentals. It can contain
120 @code{Voice} contexts."
123 \consists "Output_property_engraver"
125 \consists "Font_size_engraver"
127 \consists "Volta_engraver"
128 \consists "Separating_line_group_engraver"
129 \consists "Dot_column_engraver"
131 \consists "Ottava_spanner_engraver"
132 \consists "Rest_collision_engraver"
133 \consists "Piano_pedal_engraver"
134 \consists "Piano_pedal_align_engraver"
135 \consists "Instrument_name_engraver"
136 \consists "Grob_pq_engraver"
137 \consists "Forbid_line_break_engraver"
138 \consists "Axis_group_engraver"
140 \consists "Pitch_squash_engraver"
142 \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6)
143 extraVerticalExtent = ##f
145 localKeySignature = #'()
147 % explicitly set instrument, so we don't get
148 % weird effects when doing instrument names for
151 instrumentName = #'()
152 shortInstrumentName = #'()
159 \type "Engraver_group"
163 Corresponds to a voice on a staff. This context handles the
164 conversion of dynamic signs, stems, beams, super- and subscripts,
165 slurs, ties, and rests.
167 You have to instantiate this explicitly if you want to have
168 multiple voices on the same staff."
170 localKeySignature = #'()
171 \consists "Font_size_engraver"
173 % must come before all
174 \consists "Output_property_engraver"
175 \consists "Arpeggio_engraver"
176 \consists "Multi_measure_rest_engraver"
177 \consists "Text_spanner_engraver"
178 \consists "Grob_pq_engraver"
179 \consists "Note_head_line_engraver"
180 \consists "Glissando_engraver"
181 \consists "Ligature_bracket_engraver"
182 \consists "Breathing_sign_engraver"
183 % \consists "Rest_engraver"
184 \consists "Grace_beam_engraver"
185 \consists "New_fingering_engraver"
186 \consists "Chord_tremolo_engraver"
187 \consists "Percent_repeat_engraver"
188 \consists "Slash_repeat_engraver"
191 Must come before text_engraver, but after note_column engraver.
194 \consists "Text_engraver"
195 \consists "Dynamic_engraver"
196 \consists "Fingering_engraver"
198 \consists "Script_column_engraver"
199 \consists "Rhythmic_column_engraver"
200 \consists "Cluster_spanner_engraver"
201 \consists "Tie_engraver"
202 \consists "Tie_engraver"
203 \consists "Tuplet_engraver"
204 \consists "Note_heads_engraver"
205 \consists "Rest_engraver"
207 \consists "Skip_event_swallow_translator"
214 \context { \MyStaff }
215 \context { \MyVoice }
222 \consists "Staff_symbol_engraver"
228 \context { \MyStaff }
229 \context { \MyVoice }
235 \consists "Clef_engraver"
236 \remove "Pitch_squash_engraver"
242 \context { \MyStaff }
243 \context { \MyVoice }
249 \consists "Stem_engraver"
255 \context { \MyStaff }
256 \context { \MyVoice }
262 \consists "Beam_engraver"
268 \context { \MyStaff }
269 \context { \MyVoice }
275 \consists "Phrasing_slur_engraver"
276 \consists "Slur_engraver"
277 \consists "Script_engraver"
284 \context { \MyStaff }
285 \context { \MyVoice }
291 \consists "Bar_engraver"
292 \consists "Time_signature_engraver"
298 \context { \MyStaff }
299 \context { \MyVoice }
305 \consists "Accidental_engraver"
306 \consists "Key_engraver"
311 \context { \MyStaff }
312 \context { \MyVoice }