Custom Contexts Implemented in solmisasi-lily Library
The following custom translation contexts are created by solmisasi-lily when it is included in a Lilypond file. They are based on standard Lilypond contexts, with some customized context properties and layout object settings in order to be used in solmisasi music engraving.
Custom Translation Contexts
- GlobalTempo
- SolmisasiChoirStaff
- SolmisasiLyrics
- SolmisasiStaff
- SolmisasiTimeAndKeySignature
- SolmisasiVoice
GlobalTempo
Type: Engraver_group (See 5.1.6 Defining new contexts)
This context is built from the following engravers:
This context sets the following property:
- Sets translator property
keepAliveInterfacesto'( metronome-mark-interface text-script-interface line-spanner-interface )
This context sets the following settings to the layout objects within:
- Sets
BarLine.bar-extentto'(-0.5 . 0.5) - Sets
BarLine.transparentto#t - Sets
MetronomeMark.break-align-symbolsto#f - Sets
MetronomeMark.directiontoUP - Sets
MetronomeMark.extra-spacing-widthto'(+inf.0 . -inf.0) - Sets
MetronomeMark.Y-offsetto(/ 12 11) - Sets
TextSpanner.directiontoUP - Sets
TextSpanner.Y-offsetto0 - Sets
TimeSignature.break-align-symbolto#f - Sets
TimeSignature.stencilto#f - Sets
VerticalAxisGroup.nonstaff-nonstaff-spacing.paddingto0.5 - Sets
VerticalAxisGroup.nonstaff-relatedstaff-spacing.paddingto0.5 - Sets
VerticalAxisGroup.remove-emptyto#t - Sets
VerticalAxisGroup.remove-firstto#f - Sets
VerticalAxisGroup.staff-affinitytoDOWN
SolmisasiChoirStaff
Based on: ChoirStaff
This context also accepts commands for the following context:
This context accepts the following contexts:
This context denies the following context:
This context overrides the following settings to the layout objects within:
- Overrides
StaffGrouper.staff-staff-spacingto`((basic-distance . 0.5) (minimum-distance . 0.25) (padding . 0.75))
SolmisasiLyrics
Based on: Lyrics
This context also accepts commands for the following context:
This context is also built from the following engravers:
This context overrides the following settings to the layout objects within:
- Overrides
BarLine.bar-extentto'(0 . 1.5) - Overrides
BarLine.transparentto#t - Overrides
BarLine.gapto1.0 - Overrides
LyricText.layerto-2 - Overrides
LyricText.whiteoutto2 - Overrides
LyricText.whiteout-styleto'outline - Overrides
LyricText.word-spaceto1 - Overrides
LyricExtender.layerto-4 - Overrides
LyricHyphen.layerto-3 - Overrides
LyricHyphen.minimum-distanceto0.4 - Overrides
VerticalAxisGroup.nonstaff-relatedstaff-spacing.paddingto0.75 - Overrides
VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.paddingto2.5
SolmisasiStaff
Based on: Staff
This context also accepts commands for the following context:
This context also accepts the following context:
This context is also built from the following engravers:
This context removes the following engravers:
This context omits the following layout objects:
This context sets the following properties:
- Sets translator property
explicitKeySignatureVisibilitytobegin-of-line-invisible - Sets custom solmisasi translator property
male-vocalto#f
This context overrides the following settings to the layout objects within:
- Overrides
BarLine.bar-extentto'(-2 . 2) - Overrides
BarLine.gapto0.8 - Overrides
BarLine.space-alist.next-noteto'(semi-fixed-space . 1.5) - Overrides
Beam.beam-thicknessto0.15 - Overrides
Beam.length-fractionto0.5 - Overrides
Beam.transparentto#f - Overrides
Dots.staff-positionto2 - Overrides
InstrumentName.extra-offsetto'(0 . -0.35) - Overrides
NoteHead.Y-offsetto-0.65 - Overrides
Slur.directiontoDOWN - Overrides
StaffSymbol.line-countto5 - Overrides
StaffSymbol.transparentto#t - Overrides
Stem.colortoblue - Overrides
Stem.directiontoUP - Overrides
Stem.length-fractionto0.8 - Overrides
Stem.thicknessto14 - Overrides
Stem.transparentto#t - Overrides
Stem.X-offsetto0.65 - Overrides
TextScript.directiontoUP - Overrides
TextSpanner.directiontoUP - Overrides
Tie.details.height-limitto1.1 - Overrides
TupletBracket.bracket-visibilityto#t - Overrides
TupletBracket.directiontoUP - Overrides
VerticalAxisGroup.default-staff-staff-spacingto'((basic-distance . 0) (padding . 0.5))
SolmisasiTimeAndKeySignature
Type: Engraver_group (See 5.1.6 Defining new contexts)
This context is built from the following engravers:
This context omits the following layout objects:
This context sets the following properties:
- Sets translator property
explicitKeySignatureVisibilitytoend-of-line-invisible - Sets translator property
keepAliveInterfacesto'( key-signature-interface time-signature-interface )
This context overrides the following settings to the layout objects within:
- Overrides
BarLine.transparentto#t - Overrides
BarLine.bar-extentto'(-0.5 . 0.5) - Overrides
TimeSignature.self-alignment-XtoCENTER - Overrides
KeySignature.self-alignment-XtoCENTER - Overrides
TimeSignature.break-visibilitytoend-of-line-invisible - Overrides
VerticalAxisGroup.staff-affinitytoDOWN - Overrides
VerticalAxisGroup.nonstaff-relatedstaff-spacing.paddingto0.5 - Overrides
VerticalAxisGroup.nonstaff-nonstaff-spacing.paddingto0.5 - Overrides
VerticalAxisGroup.remove-emptyto#t - Overrides
VerticalAxisGroup.remove-firstto#f
SolmisasiVoice
Based on: Voice
This context also accepts commands for the following context:
This context is also built from the following engravers:
This context sets the following properties:
- Sets translator property
squashedPositionto0
This context overrides the following settings to the layout objects within:
- Overrides
DynamicLineSpanner.staff-paddingto1.75 - Overrides
DynamicLineSpanner.Y-extentto'(1.5 . -1.5) - Overrides
DynamicText.extra-offsetto'(0 . -0.5) - Overrides
Hairpin.extra-offsetto'(0 . -0.5) - Overrides
Hairpin.whiteoutto1.5 - Overrides
TextScript.Y-extentto'(1.5 . -1.5) - Overrides
Beam.extra-offsetto'(0 . -0.2) - Overrides
TupletBracket.shorten-pairto'(0 . 0) - Overrides
TupletNumber.font-sizeto0 - Overrides
Glissando.bound-details.left.Yto-1.2 - Overrides
Glissando.bound-details.right.Yto0.8 - Overrides
Glissando.bound-details.left.paddingto0.2 - Overrides
Glissando.bound-details.right.paddingto0.2 - Overrides
TieColumn.tie-configurationto'((-2.65 . -1)) - Overrides
BreathingSign.textto\markup { \translate #'(0 . -1.5) \musicglyph #"comma" }