|
Node:RhythmicStaff,
Next:Score,
Previous:PianoStaff,
Up:LilyPond interpretation contexts
RhythmicStaff
A context like Staff but for printing rhythms. Pitches are
ignored; the notes are printed on one line. It can contain
Voice contexts.
This context creates the following grobs:
BarLine, SeparatingGroupSpanner, SeparationItem, StaffSymbol, TimeSignature, VerticalAxisGroup and VoltaBracket.
Context RhythmicStaff can contain
Voice
This context is built from the following engravers:
A group of engravers taken together
Engraver_group_engraver is part of contexts: Lyrics, ChoirStaff, LyricsVoice, PianoStaff, GrandStaff, Thread, RhythmicStaff, Voice, Staff, ChordNames, StaffContainer, InnerStaffGroup, InnerChoirStaff, NoteNames and StaffGroup
create the constellation of five (default) staff lines.
This engraver creates the following grobs:
StaffSymbol.
Staff_symbol_engraver is part of contexts: RhythmicStaff and Staff
Create a TimeSignature whenever timeSignatureFraction changes
This engraver creates the following grobs:
TimeSignature.
Time_signature_engraver is part of contexts: RhythmicStaff and Staff
Create barlines. This engraver is controlled through the
whichBar property. If it has no bar line to create, it will forbid a linebreak at this point
Properties
whichBar (string):
- This property is read to determine what type of barline to create.
Example:
\property Staff.whichBar = "|:"
This will create a start-repeat bar in this staff only.
If not set explicitly (by property or bar), this is set
according to values of defaultBarType, barAlways,
barNonAuto and measurePosition.
Valid values are described in (lilypond-internals)bar-line-interface.
.
staffsFound (list):
- list of all staff-symbols found.
This engraver creates the following grobs:
BarLine.
Bar_engraver is part of contexts: RhythmicStaff and Staff
Make volta brackets
Properties
repeatCommands (list):
- This property is read to find any command of the form (volta . X), where X is a string or #f
voltaSpannerDuration (moment):
- maximum duration of the volta bracket.
Set to a duration to control the size of the brackets printed by
\alternative. It specifies the number of whole notes duration
to use for the brackets. This can be used to shrink the length of
brackets in the situation where one alternative is very large. It may
have odd effects if the specified duration is longer than the music
given in an \alternative.
.
This engraver creates the following grobs:
VoltaBracket.
Volta_engraver is part of contexts: RhythmicStaff and Staff
Generates objects for computing spacing parameters.
This engraver creates the following grobs:
SeparatingGroupSpanner and SeparationItem.
Separating_line_group_engraver is part of contexts: LyricsVoice, RhythmicStaff, Staff, ChordNames and NoteNames
Treat all pitches as middle C. Note that the notes move, but
the locations of accidentals stay the same.
Set the position field of all note heads to zero. This useful for
making a single line staff that demonstrates the rhythm of a melody.
Properties
squashedPosition (integer):
- Vertical position of
squashing for Pitch_squash_engraver.
Pitch_squash_engraver is part of contexts: RhythmicStaff
Interpret Music of Output_property type, and apply a function
to any Graphic objects that satisfies the predicate.
Output_property_engraver is part of contexts: Grace, Thread, RhythmicStaff, Voice, Staff, Score, ChordNames, InnerStaffGroup and StaffGroup
This is a engraver that converts property settings into
back-end grob-property settings. Example: Voice.stemLength will set
#'length in all Stem objects.
Due to CPU and memory requirements, the use of this engraver is deprecated.
Properties
Generic_property_list (list):
- description of the conversion.
Defines names and types for generic properties. These are properties
than can be plugged into the backend directly. See the init file
generic-property.scm for details. For internal use only,
deprecated.
Property_engraver is part of contexts: Lyrics, PianoStaff, GrandStaff, Grace, Thread, RhythmicStaff, Voice, Staff and ChordNames
Group all objects created in this context in a VerticalAxisGroup spanner.
Properties
VerticalExtent (pair of numbers):
- hard coded vertical extent.
The format is a pair of dimensions, for example, this sets the sizes
of a staff to 10 (5+5) staffspaces high.
property Staff.VerticalExtent = #(-5.0 . 5.0)
VerticalExtent, MinimumVerticalExtent and ExtraVerticalExtent are
predefined in all relevant contexts to #f, so they will not
inherit values.
Note that these VerticalExtents can only operate on vertical groups,
and therefore only work in contexts which contain an
Axis_group_engraver.
MinimumVerticalExtent (pair of numbers):
- minimum vertical extent, same format as VerticalExtent
ExtraVerticalExtent (pair of numbers):
- extra vertical extent, same format as MinimumVerticalExtent
This engraver creates the following grobs:
VerticalAxisGroup.
Axis_group_engraver is part of contexts: Lyrics, LyricsVoice, RhythmicStaff, Staff, ChordNames, StaffContainer and NoteNames
|