| [ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
| [ < StandaloneRhythmScore ] | [ Up : Contexts ] | [ StandaloneRhythmVoice > ] |
2.1.34 StandaloneRhythmStaff
A Staff-level context for use by
\markup \rhythm.
This context also accepts commands for the following context(s):
Staff and Staff.
This context creates the following layout object(s):
BarLine, BreathingSign, CaesuraScript, DotColumn, InstrumentName, LedgerLineSpanner, StaffHighlight, StaffSpacing, StaffSymbol and VerticalAxisGroup.
This context sets the following properties:
- Set context property
createSpacingto#t. - Set context property
instrumentNameto'(). - Set context property
localAlterationsto'(). - Set context property
shortInstrumentNameto'(). - Set context property
squashedPositionto0. - Set context property
squashedPositionto1. - Set grob property
line-countinStaffSymbolto0. - Set grob property
line-countinStaffSymbolto1. - Set grob property
neutral-directioninBeamto1. - Set grob property
neutral-directioninStemto1. - Set grob property
staff-paddinginVoltaBracketto3.
This is not a ‘Bottom’ context; search for such a one will commence after creating an implicit context of type StandaloneRhythmVoice.
Context StandaloneRhythmStaff can contain
CueVoice, NullVoice, StandaloneRhythmVoice and Voice.
This context is built from the following engraver(s):
-
Axis_group_engraver Group all objects created in this context in a
VerticalAxisGroupspanner.Properties (read)
-
currentCommandColumn(graphical (layout) object) Grob that is X-parent to all current breakable items (clef, key signature, etc.).
-
hasAxisGroup(boolean) True if the current context is contained in an axis group.
-
keepAliveInterfaces(list) A list of symbols, signifying grob interfaces that are worth keeping a staff with
remove-emptyset around for.
Properties (write)
-
hasAxisGroup(boolean) True if the current context is contained in an axis group.
This engraver creates the following layout object(s):
VerticalAxisGroup.-
-
Bar_engraver Create bar lines for various commands, including
\\bar.If
forbidBreakBetweenBarLinesis true, allow line breaks at bar lines only.Music types accepted:
ad-hoc-jump-event,caesura-event,coda-mark-event,dal-segno-event,fine-event,section-event,segno-mark-eventandvolta-span-eventProperties (read)
-
caesuraType(list) An alist
((bar-line . bar-type) (breath . breath-type) (scripts . script-type…) (underlying-bar-line . bar-type))
specifying which breath mark, bar line, and scripts to create at
\caesura. All entries are optional.bar-linehas higher priority than a measure bar line andunderlying-bar-linehas lower priority than a measure bar line.-
caesuraTypeTransform(procedure) An engraver callback taking three arguments and returning an alist of the same kind as
caesuraType.The first argument is the context.
The second argument is the value of
caesuraTypewith an additional entry(articulations . symbol-list)identifying the articulations attached to the caesura in the music. If the transform function returns this second argument unmodified, it is as if no transform function were set; the function is free to return a different value. The transform function can remove articulations, but any added articulations are ignored.The third argument is a symbol-list identifying certain things the engraver has observed.
bar-lineindicates that the engraver has observed aBarLineat the current moment.-
doubleRepeatBarType(string) Bar line to insert where the end of one
\repeat voltacoincides with the start of another. The default is ‘:..:’.-
doubleRepeatSegnoBarType(string) Bar line to insert where an in-staff segno coincides with the end of one
\repeat voltaand the beginning of another. The default is ‘:|.S.|:’.-
endRepeatBarType(string) Bar line to insert at the end of a
\repeat volta. The default is ‘:|.’.-
endRepeatSegnoBarType(string) Bar line to insert where an in-staff segno coincides with the end of a
\repeat volta. The default is ‘:|.S’.-
fineBarType(string) Bar line to insert at
\fine. Where there is also a repeat bar line, the repeat bar line takes precedence and this value is appended to it as an annotation. The default is ‘|.’.-
fineSegnoBarType(string) Bar line to insert where an in-staff segno coincides with
\fine. The default is ‘|.S’.-
fineStartRepeatSegnoBarType(string) Bar line to insert where an in-staff segno coincides with
\fineand the start of a\repeat volta. The default is ‘|.S.|:’.-
forbidBreakBetweenBarLines(boolean) If set to true,
Bar_engraverforbids line breaks where there is no bar line.-
measureBarType(string) Bar line to insert at a measure boundary.
-
repeatCommands(list) A list of commands related to volta-style repeats. In general, each element is a list,
'(command args…), but a command with no arguments may be abbreviated to a symbol; e.g.,'((start-repeat))may be given as'(start-repeat).-
end-repeat End a repeated section.
-
start-repeat Start a repeated section.
-
volta text If text is markup, start a volta bracket with that label; if text is
#f, end a volta bracket.
-
-
sectionBarType(string) Bar line to insert at
\section. Where there is also a repeat bar line, the repeat bar line takes precedence and this value is appended to it as an annotation. The default is ‘||’.-
segnoBarType(string) Bar line to insert at an in-staff segno. The default is ‘S’.
-
segnoStyle(symbol) A symbol that indicates how to print a segno:
bar-lineormark.-
startRepeatBarType(string) Bar line to insert at the start of a
\repeat volta. The default is ‘.|:’.-
startRepeatSegnoBarType(string) Bar line to insert where an in-staff segno coincides with the start of a
\repeat volta. The default is ‘S.|:’.-
underlyingRepeatBarType(string) Bar line to insert at points of repetition or departure where no bar line would normally appear, for example at the end of a system broken in mid measure where the next system begins with a segno. Where there is also a repeat bar line, the repeat bar line takes precedence and this value is appended to it as an annotation. The default is ‘||’.
-
whichBar(string) The current bar line type, or
'()if there is no bar line. Setting this explicitly in user code is deprecated. Use\baror related commands to set it.
Properties (write)
-
currentBarLine(graphical (layout) object) Set to the
BarLinethatBar_engraverhas created in the current timestep.-
forbidBreak(boolean) If set to
#t, prevent a line break at this point, except if explicitly requested by the user.
This engraver creates the following layout object(s):
BarLine.-
-
Caesura_engraver Notate a short break in sound that does not shorten the previous note.
Depending on the result of passing the value of
caesuraTypethroughcaesuraTypeTransform, this engraver may create aBreathingSignwithCaesuraScriptgrobs aligned to it, or it may createCaesuraScriptgrobs and align them to aBarLine.If this engraver observes a
BarLine, it callscaesuraTypeTransformagain with the new information, and if necessary, recreates its grobs.Music types accepted:
caesura-eventProperties (read)
-
breathMarkDefinitions(list) The description of breath marks. This is used by the
Breathing_sign_engraver. See ‘scm/breath.scm’ for more information.-
caesuraType(list) An alist
((bar-line . bar-type) (breath . breath-type) (scripts . script-type…) (underlying-bar-line . bar-type))
specifying which breath mark, bar line, and scripts to create at
\caesura. All entries are optional.bar-linehas higher priority than a measure bar line andunderlying-bar-linehas lower priority than a measure bar line.-
caesuraTypeTransform(procedure) An engraver callback taking three arguments and returning an alist of the same kind as
caesuraType.The first argument is the context.
The second argument is the value of
caesuraTypewith an additional entry(articulations . symbol-list)identifying the articulations attached to the caesura in the music. If the transform function returns this second argument unmodified, it is as if no transform function were set; the function is free to return a different value. The transform function can remove articulations, but any added articulations are ignored.The third argument is a symbol-list identifying certain things the engraver has observed.
bar-lineindicates that the engraver has observed aBarLineat the current moment.-
scriptDefinitions(list) The description of scripts. This is used by the
Script_engraverfor typesetting note-superscripts and subscripts. See ‘scm/script.scm’ for more information.
This engraver creates the following layout object(s):
BreathingSignandCaesuraScript.-
-
Dot_column_engraver Engrave dots on dotted notes shifted to the right of the note. If omitted, then dots appear on top of the notes.
This engraver creates the following layout object(s):
DotColumn.-
Font_size_engraver Put
fontSizeintofont-sizegrob property.Properties (read)
-
fontSize(number) The relative size of all grobs in a context.
-
-
Instrument_name_engraver Create a system start text for instrument or vocal names.
Properties (read)
-
currentCommandColumn(graphical (layout) object) Grob that is X-parent to all current breakable items (clef, key signature, etc.).
-
instrumentName(markup) The name to print left of a staff. The
instrumentNameproperty labels the staff in the first system, and theshortInstrumentNameproperty labels following lines.-
shortInstrumentName(markup) See
instrumentName.-
shortVocalName(markup) Name of a vocal line, short version.
-
vocalName(markup) Name of a vocal line.
This engraver creates the following layout object(s):
InstrumentName.-
-
Ledger_line_engraver Create the spanner to draw ledger lines, and notices objects that need ledger lines.
This engraver creates the following layout object(s):
LedgerLineSpanner.-
Output_property_engraver Apply a procedure to any grob acknowledged.
Music types accepted:
apply-output-event-
Pitch_squash_engraver Set the vertical position of note heads to
squashedPosition, if that property is set. This can be used to make a single-line staff demonstrating the rhythm of a melody.Properties (read)
-
squashedPosition(integer) Vertical position of squashing for Pitch_squash_engraver.
-
-
Separating_line_group_engraver Generate objects for computing spacing parameters.
Properties (read)
-
createSpacing(boolean) Create
StaffSpacingobjects? Should be set for staves.
Properties (write)
-
hasStaffSpacing(boolean) True if
currentCommandColumncontains items that will affect spacing.
This engraver creates the following layout object(s):
StaffSpacing.-
-
Staff_highlight_engraver Highlights music passages.
Music types accepted:
staff-highlight-eventProperties (read)
-
currentCommandColumn(graphical (layout) object) Grob that is X-parent to all current breakable items (clef, key signature, etc.).
This engraver creates the following layout object(s):
StaffHighlight.-
-
Staff_symbol_engraver Create the constellation of five (default) staff lines.
Music types accepted:
staff-span-eventThis engraver creates the following layout object(s):
StaffSymbol.
| [ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
| [ < StandaloneRhythmScore ] | [ Up : Contexts ] | [ StandaloneRhythmVoice > ] |