2 (define (engraver-description name description created-elts properties)
3 (list name description created-elts properties)
7 (define engraver-description-alist
13 "Create stems and single-stem tremolos. It also works together with
14 the beam engraver for overriding beaming."
25 "Create lyric hyphens"
34 "Create lyric extenders"
41 'Separating_line_group_engraver
43 "Separating_line_group_engraver"
44 "Generates objects for computing spacing parameters."
45 '(SeparationItem SeparatingGroupSpanner)
53 "Group all objects created in this context in a VerticalAxisGroup spanner."
55 '(VerticalExtent MinimumVerticalExtent ExtraVerticalExtent)
62 "Like Axis_group_engraver, but make a hara kiri spanner, and add
63 interesting items (ie. note heads, lyric syllables and normal rests)"
64 '(HaraKiriVerticalGroup)
73 "Make accidentals. Catches note heads, ties and notices key-change
74 events. Due to interaction with ties (which don't come together
75 with note heads), this needs to be in a context higher than Tie_engraver.
92 '(repeatCommands voltaSpannerDuration)
99 "Determine and set reference point for pitches"
100 '(Clef OctavateEight)
101 '( clefPosition clefGlyph centralCPosition clefOctavation explicitClefVisibility )))
105 (engraver-description
107 "Part combine engraver for orchestral scores.
109 The markings @emph{a2}, @emph{Solo} and @emph{Solo II}, are
110 created by this engraver. It also acts upon instructions of the part
111 combiner. Another thing that the this engraver, is forcing of stem,
112 slur and tie directions, always when both threads are not identical;
113 up for the musicexpr called @code{one}, down for the musicexpr called
134 (engraver-description
136 "Generate an Arpeggio from a Arpeggio_req"
143 (engraver-description
145 "Generate beams based on measure characteristics and observed
146 Stems. Uses beatLength, measureLength and measurePosition to decide
147 when to start and stop a beam. Overriding beaming is done through
148 @ref{Stem_engraver} properties stemLeftBeamCount and
159 (engraver-description
161 "Create barlines. This engraver is controlled through the
162 @code{whichBar} property. If it has no bar line to create, it will forbid a linebreak at this point"
172 (engraver-description
173 "Bar_number_engraver"
174 "A bar number is created whenever measurePosition is zero. It is
175 put on top of all staves, and appears only at left side of the staff."
184 (engraver-description
186 "Handles Beam_requests by engraving Beams. If omitted, then notes will be
187 printed with flags instead of beams."
194 'Break_align_engraver
195 (engraver-description
196 "Break_align_engraver"
197 "Align grobs with corresponding break-align-symbols into groups, and order the groups according to breakAlignOrder"
198 '(BreakAlignment BreakAlignGroup LeftEdge)
206 'Breathing_sign_engraver
207 (engraver-description
208 "Breathing_sign_engraver"
217 (engraver-description
218 "Chord_name_engraver"
219 "Catch Note_req's, Tonic_reqs, Inversion_reqs, Bass_req
220 and generate the appropriate chordname."
226 'Chord_tremolo_engraver
227 (engraver-description
228 "Chord_tremolo_engraver"
229 "Generates beams for the \repeat X tremolo ... construct"
238 (engraver-description
248 (engraver-description
258 (engraver-description
259 "Dot_column_engraver"
260 " Engraves dots on dotted notes shifted to the right of the note.
261 If omitted, then dots appear on top of the notes.
271 (engraver-description
286 'Instrument_name_engraver
287 (engraver-description
288 "Instrument_name_engraver"
289 " Prints the name of the instrument (specified by
290 @code{Staff.instrument} and @code{Staff.instr}) at the left of the
299 'Engraver_group_engraver
300 (engraver-description
301 "Engraver_group_engraver"
302 "A group of engravers taken together"
309 (engraver-description
314 '( keySignature explicitKeySignatureVisibility createKeyOnClefChange keyAccidentalOrder keySignature )))
316 (cons 'Lyric_engraver
317 (engraver-description
325 (cons 'Lyric_phrasing_engraver
326 (engraver-description
327 "Lyric_phrasing_engraver"
340 (engraver-description
353 (engraver-description
367 'Multi_measure_rest_engraver
368 (engraver-description
369 "Multi_measure_rest_engraver"
370 "Engraves multi-measure rests that are produced with @code{R}. Reads
371 measurePosition and currentBarNumber to determine what number to print over the MultiMeasureRest
374 '(currentBarNumber currentCommandColumn measurePosition
379 (engraver-description
380 "Note_heads_engraver"
381 "Generate one or more noteheads from Music of type Note_req."
387 'Note_head_line_engraver
388 (engraver-description
389 "Note_head_line_engraver"
390 "Engrave a line between two note heads, for example a glissando.
391 If followVoice is set, staff switches also generate a line."
392 '(Glissando VoiceFollower)
397 (engraver-description
406 'Output_property_engraver
407 (engraver-description
408 "Output_property_engraver"
409 "Interpret Music of Output_property type, and apply a function
410 to any Graphic objects that satisfies the predicate."
417 'Piano_pedal_engraver
418 (engraver-description
419 "Piano_pedal_engraver"
420 "Engrave piano pedal symbols."
421 '(SostenutoPedal SustainPedal UnaCordaPedal)
422 '(pedalSostenutoStrings pedalSustainStrings pedalUnaCordaStrings
426 'Pitch_squash_engraver
427 (engraver-description
428 "Pitch_squash_engraver"
429 "Treat all pitches as middle C. Note that the notes move, but
430 the locations of accidentals stay the same.
431 Set the position field of all note heads to zero. This useful for
432 making a single line staff that demonstrates the rhythm of a melody."
440 (engraver-description
442 "This is a engraver that converts \property settings into
443 back-end grob-property settings. Example: Voice.stemLength will set
444 #'length in all Stem objects.
446 Due to CPU and memory requirements, the use of this engraver is deprecated."
448 '(Generic_property_list)
453 'Repeat_acknowledge_engraver
454 (engraver-description
455 "Repeat_acknowledge_engraver"
457 "Acknowledge repeated music, and convert the contents of
458 repeatCommands ainto an appropriate setting for whichBar"
468 'Rest_collision_engraver
469 (engraver-description
470 "Rest_collision_engraver"
471 "Handles collisions of rests."
479 (engraver-description
488 'Rhythmic_column_engraver
489 (engraver-description
490 "Rhythmic_column_engraver"
491 "Generates NoteColumn, an objects that groups stems, noteheads and rests."
498 'Script_column_engraver
499 (engraver-description
500 "Script_column_engraver"
509 (engraver-description
511 " Handles note ornaments generated by @code{\script}.
521 (engraver-description
523 "Top level engraver. Takes care of generating columns and the complete system (ie. LineOfScore)
525 This engraver decides whether a column is breakable. The default is
526 that a column is always breakable. However, when every Bar_engraver
527 that does not have a barline at a certain point will call
528 Score_engraver::forbid_breaks to stop linebreaks. In practice, this
529 means that you can make a breakpoint by creating a barline (assuming
530 that there are no beams or notes that prevent a breakpoint.)
533 '(LineOfScore PaperColumn NonMusicalPaperColumn)
539 (cons 'Skip_req_swallow_translator
540 (engraver-description
541 "Skip_req_swallow_translator"
550 (engraver-description
552 "Build slurs from Slur_reqs"
564 (engraver-description
566 "make a SpacingSpanner and do bookkeeping of shortest starting and playing notes "
573 'Span_arpeggio_engraver
574 (engraver-description
575 "Span_arpeggio_engraver"
585 (engraver-description
587 "This engraver makes cross-staff barlines: It catches all normal
588 bar lines, and draws a single span-bar across them."
596 'Staff_symbol_engraver
597 (engraver-description
598 "Staff_symbol_engraver"
599 "create the constellation of five (default) staff lines."
606 'Stanza_number_engraver
607 (engraver-description
608 "Stanza_number_engraver"
620 'System_start_delimiter_engraver
621 (engraver-description
622 "System_start_delimiter_engraver"
623 "creates a SystemStartDelimiter spanner"
624 '(SystemStartDelimiter)
631 (engraver-description
633 "Create text-scripts"
642 'Text_spanner_engraver
643 (engraver-description
644 "Text_spanner_engraver"
645 "Create text spanner from a Span_req "
652 'Thread_devnull_engraver
653 (engraver-description
654 "Thread_devnull_engraver"
655 "Kill elements whenever we are Voice called `two' and either
656 unison, unisilence or soloADue is set.@footnote{On unix systems, the
657 file @file{/dev/null} is special device: anything written to it is
658 discarded.}. This engraver works closely together with the part
659 combiner. When the part combiner notices that two threads are
660 identical, it tells the @code{Thread_devnull_engraver} to discard
661 everything in the second thread.
670 (engraver-description
672 "Generate ties between noteheads of equal pitch."
680 'Time_signature_engraver
681 (engraver-description
682 "Time_signature_engraver"
683 "Create a TimeSignature whenever @code{timeSignatureFraction} changes"
691 (engraver-description
693 " Responsible for synchronizing timing information from staves.
694 Normally in @code{Score}. In order to create polyrhythmic music,
695 this engraver should be removed from @code{Score} and placed in
699 timeSignatureFraction
700 barCheckNoSynchronize
716 (engraver-description
718 "Catch Time_scaled_music and generate appropriate bracket "
720 '(tupletNumberFormatFunction tupletSpannerDuration tupletInvisible)))
724 'Vertical_align_engraver
725 (engraver-description
726 "Vertical_align_engraver"
727 "Catch Vertical axis groups and stack them."
734 'Voice_devnull_engraver
735 (engraver-description
736 "Voice_devnull_engraver"
737 "Kill off certain items and spanners if we're Voice `two' and unison or unisilence is set."
744 (set! engraver-description-alist
745 (sort engraver-description-alist alist<?))
747 (define context-description-alist
750 The context for handling grace notes. It used to be instantiated
751 automatically when you use @code{\grace}. Basically, it is an
752 `embedded' miniature of the Score context. Since this context
753 needs special interaction with the rest of LilyPond, you should
754 not explicitly instantiate it.
759 Corresponds to a voice with lyrics. Handles the printing of a
760 single line of lyrics.
763 Handles note heads, and is contained in the Voice context. You
764 have to instantiate this explicitly if you want to adjust the
765 style of individual note heads.
768 Corresponds to a voice on a staff. This context handles the
769 conversion of dynamic signs, stems, beams, super- and subscripts,
770 slurs, ties, and rests.
772 You have to instantiate this explicitly if you want to have
773 multiple voices on the same staff.")
776 A voice with chord names. Handles printing of a line of chord
780 Typesets chord names. Can contain @code{ChordNamesVoice}
784 Typesets lyrics. It can contain @code{LyricsVoice} contexts.
787 Handles clefs, bar lines, keys, accidentals. It can contain
788 @code{Voice} contexts.
791 A context like @code{Staff} but for printing rhythms. Pitches are
792 ignored; the notes are printed on one line. It can contain
793 @code{Voice} contexts.
796 Contains @code{Staff} or @code{RhythmicStaff} contexts. It adds a
797 brace on the left side, grouping the staves together. The bar
798 lines of the contained staves are connected vertically. It can
799 contain @code{Staff} contexts.")
802 Just like @code{GrandStaff} but with @code{minVerticalAlign} set
803 equal to @code{maxVerticalAlign} so that interstaff beaming and
804 slurring can be used.")
807 Contains @code{Staff} or @code{RhythmicStaff} contexts. Adds a
808 bracket on the left side, grouping the staves together. The bar
809 lines of the contained staves are connected vertically. It can
810 contain @code{Staff}, @code{RhythmicStaff}, @code{GrandStaff}, or
811 @code{Lyrics} contexts.
814 Identical to @code{StaffGroup} except that the contained staves
815 are not connected vertically.
818 This is the top level notation context. No other context can
819 contain a @code{Score} context. This context handles the
820 administration of time signatures. It also makes sure that items
821 such as clefs, time signatures, and key-signatures are aligned
822 across staves. It can contain @code{Lyrics}, @code{Staff},
823 @code{RhythmicStaff}, @code{GrandStaff}, @code{StaffGroup}, and
824 @code{ChoirStaff} contexts.
826 You cannot explicitly instantiate a Score context (since it is
827 not contained in any other context). It is instantiated
828 automatically when an output definition (a @code{\score} or
829 @code{\paper} block) is processed.
834 (set! context-description-alist
835 (sort context-description-alist alist<?))