[ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
[ < DrumVoice ] | [ Up : Contexts ] | [ FiguredBass > ] |
2.1.9 Dynamics
Holds a single line of dynamics, which will be centered between the staves surrounding this context.
This context also accepts commands for the following context(s):
Staff
and Voice
.
This context creates the following layout object(s):
BarLine
, DynamicLineSpanner
, DynamicText
, DynamicTextSpanner
, Hairpin
, PianoPedalBracket
, Script
, SostenutoPedal
, SustainPedal
, TextScript
, TextSpanner
, UnaCordaPedal
and VerticalAxisGroup
.
This context sets the following properties:
- Set grob property
font-shape
inTextScript
to'italic
. - Set grob property
nonstaff-relatedstaff-spacing
inVerticalAxisGroup
to:'((basic-distance . 5) (padding . 0.5))
- Set grob property
outside-staff-priority
inDynamicLineSpanner
to#f
. - Set grob property
outside-staff-priority
inDynamicText
to#f
. - Set grob property
outside-staff-priority
inHairpin
to#f
. - Set grob property
staff-affinity
inVerticalAxisGroup
to0
. - Set grob property
Y-offset
inDynamicLineSpanner
to0
. - Set translator property
pedalSustainStrings
to:'("Ped." "*Ped." "*")
- Set translator property
pedalUnaCordaStrings
to:'("una corda" "" "tre corde")
This is a ‘Bottom’ context; no contexts will be created implicitly from it.
This context cannot contain other contexts.
This context is built from the following engraver(s):
Axis_group_engraver
Group all objects created in this context in a
VerticalAxisGroup
spanner.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-empty
set 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 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. This engraver is required to trigger the creation of clefs at the start of systems.Music types accepted:
ad-hoc-jump-event
,coda-mark-event
,dal-segno-event
,fine-event
,section-event
,segno-mark-event
andvolta-span-event
Properties (read)
doubleRepeatBarType
(string)Bar line to insert where the end of one
\repeat volta
coincides 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 volta
and 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
\fine
and the start of a\repeat volta
. The default is ‘|.S.|:’.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-line
ormark
.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\bar
or related commands to set it.Properties (write)
currentBarLine
(graphical (layout) object)Set to the
BarLine
thatBar_engraver
has 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
.Dynamic_align_engraver
Align hairpins and dynamic texts on a horizontal line.
Properties (read)
currentMusicalColumn
(graphical (layout) object)Grob that is X-parent to all non-breakable items (note heads, lyrics, etc.).
This engraver creates the following layout object(s):
DynamicLineSpanner
.Dynamic_engraver
Create hairpins, dynamic texts and dynamic text spanners.
Music types accepted:
absolute-dynamic-event
,break-span-event
andspan-dynamic-event
Properties (read)
crescendoSpanner
(symbol)The type of spanner to be used for crescendi. Available values are ‘hairpin’ and ‘text’. If unset, a hairpin crescendo is used.
crescendoText
(markup)The text to print at start of non-hairpin crescendo, i.e., ‘cresc.’.
currentMusicalColumn
(graphical (layout) object)Grob that is X-parent to all non-breakable items (note heads, lyrics, etc.).
decrescendoSpanner
(symbol)The type of spanner to be used for decrescendi. Available values are ‘hairpin’ and ‘text’. If unset, a hairpin decrescendo is used.
decrescendoText
(markup)The text to print at start of non-hairpin decrescendo, i.e., ‘dim.’.
This engraver creates the following layout object(s):
DynamicText
,DynamicTextSpanner
andHairpin
.Font_size_engraver
Put
fontSize
intofont-size
grob property.Properties (read)
fontSize
(number)The relative size of all grobs in a context.
Output_property_engraver
Apply a procedure to any grob acknowledged.
Music types accepted:
apply-output-event
Piano_pedal_engraver
Engrave piano pedal symbols and brackets.
Music types accepted:
sostenuto-event
,sustain-event
anduna-corda-event
Properties (read)
currentCommandColumn
(graphical (layout) object)Grob that is X-parent to all current breakable items (clef, key signature, etc.).
pedalSostenutoStrings
(list)See
pedalSustainStrings
.pedalSostenutoStyle
(symbol)See
pedalSustainStyle
.pedalSustainStrings
(list)A list of strings to print for sustain-pedal. Format is
(up updown down)
, where each of the three is the string to print when this is done with the pedal.pedalSustainStyle
(symbol)A symbol that indicates how to print sustain pedals:
text
,bracket
ormixed
(both).pedalUnaCordaStrings
(list)See
pedalSustainStrings
.pedalUnaCordaStyle
(symbol)See
pedalSustainStyle
.This engraver creates the following layout object(s):
PianoPedalBracket
,SostenutoPedal
,SustainPedal
andUnaCordaPedal
.Script_engraver
Handle note scripted articulations.
Music types accepted:
articulation-event
Properties (read)
scriptDefinitions
(list)The description of scripts. This is used by the
Script_engraver
for typesetting note-superscripts and subscripts. See ‘scm/script.scm’ for more information.This engraver creates the following layout object(s):
Script
.Text_engraver
Create text scripts.
Music types accepted:
text-script-event
This engraver creates the following layout object(s):
TextScript
.Text_spanner_engraver
Create text spanner from an event.
Music types accepted:
text-span-event
Properties (read)
currentMusicalColumn
(graphical (layout) object)Grob that is X-parent to all non-breakable items (note heads, lyrics, etc.).
This engraver creates the following layout object(s):
TextSpanner
.
[ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
[ < DrumVoice ] | [ Up : Contexts ] | [ FiguredBass > ] |