Next: Staff, Previous: RhythmicStaff, Up: Contexts
This is the top level notation context. No
other context can contain a Score
context. This context
handles the administration of time signatures. It also makes sure
that items such as clefs, time signatures, and key-signatures are
aligned across staves.
You cannot explicitly instantiate a Score context (since it is
not contained in any other context). It is instantiated
automatically when an output definition (a \score
or
\layout
block) is processed.
This context creates the following layout objects:
BarNumber, BreakAlignGroup, BreakAlignment, GraceSpacing, LeftEdge, MetronomeMark, NonMusicalPaperColumn, PaperColumn, ParenthesesItem, RehearsalMark, SpacingSpanner, SystemStartBar, SystemStartBrace, SystemStartBracket, SystemStartSquare and VerticalAlignment.
This context sets the following properties:
timing
to #t
hairpinToBarline
to #t
verticallySpacedContexts
to '(Staff)
instrumentTransposition
to #<Pitch c' >
quotedEventTypes
to '(note-event rest-event tie-event beam-event tuplet-span-event)
keepAliveInterfaces
to '(rhythmic-grob-interface lyric-interface stanza-number-interface percent-repeat-interface)
graceSettings
to '((Voice Stem direction 1) (Voice Stem font-size -3) (Voice NoteHead font-size -3) (Voice Dots font-size -3) (Voice Stem length-fraction 0.8) (Voice Stem no-stem-extend #t) (Voice Beam thickness 0.384) (Voice Beam length-fraction 0.8) (Voice Accidental font-size -4) (Voice Slur direction -1))
metronomeMarkFormatter
to format-metronome-markup
figuredBassFormatter
to format-bass-figure
tablatureFormat
to fret-number-tablature-format
stringTunings
to '(4 -1 -5 -10 -15 -20)
highStringOne
to #t
stringOneTopmost
to #t
bassStaffProperties
to '((assign clefGlyph clefs.F) (assign clefPosition 2) (assign middleCPosition 6))
chordNameExceptionsPartial
to '(((#<Pitch c' > #<Pitch d' >) (#<procedure line-markup (layout props args)> ((#<procedure normal-size-super-markup (layout props arg)> 2)))) ((#<Pitch c' > #<Pitch ees' >) (#<procedure line-markup (layout props args)> (m))) ((#<Pitch c' > #<Pitch f' >) (#<procedure line-markup (layout props args)> ((#<procedure normal-size-super-markup (layout props arg)> sus4)))) ((#<Pitch c' > #<Pitch g' >) (#<procedure line-markup (layout props args)> ((#<procedure normal-size-super-markup (layout props arg)> 5)))) ((#<Pitch c' > #<Pitch ees' > #<Pitch f' >) (#<procedure line-markup (layout props args)> (m)) (#<procedure line-markup (layout props args)> ((#<procedure normal-size-super-markup (layout props arg)> sus4)))) ((#<Pitch c' > #<Pitch d' > #<Pitch ees' >) (#<procedure line-markup (layout props args)> (m)) (#<procedure line-markup (layout props args)> ((#<procedure normal-size-super-markup (layout props arg)> sus2)))))
chordNameExceptionsFull
to '(((#<Pitch c' > #<Pitch e' > #<Pitch gis' >) (#<procedure line-markup (layout props args)> (+))) ((#<Pitch c' > #<Pitch ees' > #<Pitch ges' >) (#<procedure line-markup (layout props args)> ((#<procedure super-markup (layout props arg)> o)))) ((#<Pitch c' > #<Pitch ees' > #<Pitch ges' > #<Pitch bes' >) (#<procedure line-markup (layout props args)> ((#<procedure super-markup (layout props arg)> ø)))) ((#<Pitch c' > #<Pitch ees' > #<Pitch ges' > #<Pitch beses' >) (#<procedure line-markup (layout props args)> ((#<procedure super-markup (layout props arg)> o7)))))
chordPrefixSpacer
to 0
chordRootNamer
to note-name->markup
chordNoteNamer
to '()
chordNameExceptions
to '(((#<Pitch e' > #<Pitch gis' >) #<procedure line-markup (layout props args)> (+)) ((#<Pitch ees' > #<Pitch ges' >) #<procedure line-markup (layout props args)> ((#<procedure super-markup (layout props arg)> o))) ((#<Pitch ees' > #<Pitch ges' > #<Pitch bes' >) #<procedure line-markup (layout props args)> ((#<procedure super-markup (layout props arg)> ø))) ((#<Pitch ees' > #<Pitch ges' > #<Pitch beses' >) #<procedure line-markup (layout props args)> ((#<procedure super-markup (layout props arg)> o7))))
chordNameSeparator
to '(#<procedure simple-markup (layout props str)> /)
majorSevenSymbol
to '(#<procedure line-markup (layout props args)> ((#<procedure triangle-markup (layout props filled)> #f)))
chordNameFunction
to ignatzek-chord-names
barCheckSynchronize
to #f
keyAlterationOrder
to '((6 . -2) (2 . -2) (5 . -2) (1 . -2) (4 . -2) (0 . -2) (3 . -2) (3 . 2) (0 . 2) (4 . 2) (1 . 2) (5 . 2) (2 . 2) (6 . 2) (6 . -4) (2 . -4) (5 . -4) (1 . -4) (4 . -4) (0 . -4) (3 . -4) (3 . 4) (0 . 4) (4 . 4) (2 . 4) (5 . 4) (2 . 4) (6 . 4))
printKeyCancellation
to #t
autoCautionaries
to '()
autoAccidentals
to '(Staff (same-octave . 0))
extraNatural
to #t
allowBeamBreak
to #f
subdivideBeams
to #f
rehearsalMark
to 1
markFormatter
to format-mark-letters
strokeFingerOrientations
to '(right)
stringNumberOrientations
to '(up down)
fingeringOrientations
to '(up down)
harmonicAccidentals
to #t
pedalSostenutoStyle
to 'mixed
pedalSostenutoStrings
to '(Sost. Ped. *Sost. Ped. *)
pedalUnaCordaStyle
to 'text
pedalUnaCordaStrings
to '(una corda tre corde)
pedalSustainStyle
to 'text
pedalSustainStrings
to '(Ped. *Ped. *)
scriptDefinitions
to '((thumb (script-stencil feta thumb . thumb) (avoid-slur . inside) (padding . 0.2) (direction . 1)) (accent (avoid-slur . around) (padding . 0.2) (quantize-position . #t) (script-stencil feta sforzato . sforzato) (side-relative-direction . -1)) (espressivo (avoid-slur . around) (padding . 0.2) (quantize-position . #t) (script-stencil feta espr . espr) (side-relative-direction . -1)) (marcato (script-stencil feta dmarcato . umarcato) (padding . 0.2) (avoid-slur . inside) (quantize-position . #t) (side-relative-direction . -1)) (staccatissimo (avoid-slur . inside) (script-stencil feta dstaccatissimo . ustaccatissimo) (padding . 0.2) (side-relative-direction . -1)) (portato (script-stencil feta uportato . dportato) (avoid-slur . around) (slur-padding . 0.3) (padding . 0.45) (side-relative-direction . -1)) (accentus (script-stencil feta uaccentus . uaccentus) (side-relative-direction . -1) (padding . 0.2) (quantize-position . #t) (script-priority . -100) (direction . 1)) (ictus (script-stencil feta ictus . ictus) (side-relative-direction . -1) (quantize-position . #t) (padding . 0.2) (script-priority . -100) (direction . -1)) (semicirculus (script-stencil feta dsemicirculus . dsemicirculus) (side-relative-direction . -1) (quantize-position . #t) (padding . 0.2) (script-priority . -100) (direction . 1)) (circulus (script-stencil feta circulus . circulus) (side-relative-direction . -1) (padding . 0.2) (quantize-position . #t) (script-priority . -100) (direction . 1)) (signumcongruentiae (script-stencil feta dsignumcongruentiae . usignumcongruentiae) (padding . 0.2) (direction . 1)) (fermata (script-stencil feta dfermata . ufermata) (padding . 0.2) (avoid-slur . around) (script-priority . 4000) (direction . 1)) (shortfermata (script-stencil feta dshortfermata . ushortfermata) (padding . 0.2) (direction . 1)) (longfermata (script-stencil feta dlongfermata . ulongfermata) (padding . 0.2) (direction . 1)) (verylongfermata (script-stencil feta dverylongfermata . uverylongfermata) (padding . 0.2) (direction . 1)) (stopped (script-stencil feta stopped . stopped) (avoid-slur . inside) (padding . 0.2) (direction . 1)) (staccato (script-stencil feta staccato . staccato) (side-relative-direction . -1) (quantize-position . #t) (avoid-slur . inside) (padding . 0.2) (script-priority . -100)) (tenuto (script-stencil feta tenuto . tenuto) (quantize-position . #t) (avoid-slur . inside) (padding . 0.2) (side-relative-direction . -1)) (comma (script-stencil feta lcomma . rcomma) (quantize-position . #t) (padding . 0.2) (direction . 1)) (varcomma (script-stencil feta lvarcomma . rvarcomma) (quantize-position . #t) (padding . 0.2) (direction . 1)) (upbow (script-stencil feta upbow . upbow) (avoid-slur . around) (padding . 0.2) (direction . 1)) (downbow (script-stencil feta downbow . downbow) (padding . 0.2) (avoid-slur . around) (direction . 1)) (lheel (script-stencil feta upedalheel . upedalheel) (padding . 0.2) (direction . -1)) (rheel (script-stencil feta dpedalheel . dpedalheel) (padding . 0.2) (direction . 1)) (ltoe (script-stencil feta upedaltoe . upedaltoe) (padding . 0.2) (direction . -1)) (rtoe (script-stencil feta dpedaltoe . dpedaltoe) (padding . 0.2) (direction . 1)) (turn (script-stencil feta turn . turn) (avoid-slur . inside) (padding . 0.2) (direction . 1)) (open (avoid-slur . outside) (padding . 0.2) (script-stencil feta open . open) (direction . 1)) (flageolet (script-stencil feta flageolet . flageolet) (padding . 0.2) (direction . 1)) (reverseturn (script-stencil feta reverseturn . reverseturn) (padding . 0.2) (direction . 1)) (trill (script-stencil feta trill . trill) (direction . 1) (padding . 0.2) (avoid-slur . outside) (script-priority . 2000)) (prall (script-stencil feta prall . prall) (padding . 0.2) (direction . 1)) (mordent (script-stencil feta mordent . mordent) (padding . 0.2) (direction . 1)) (prallprall (script-stencil feta prallprall . prallprall) (padding . 0.2) (direction . 1)) (prallmordent (script-stencil feta prallmordent . prallmordent) (padding . 0.2) (direction . 1)) (upprall (script-stencil feta upprall . upprall) (padding . 0.2) (direction . 1)) (downprall (script-stencil feta downprall . downprall) (padding . 0.2) (direction . 1)) (upmordent (script-stencil feta upmordent . upmordent) (padding . 0.2) (direction . 1)) (downmordent (script-stencil feta downmordent . downmordent) (padding . 0.2) (direction . 1)) (lineprall (script-stencil feta lineprall . lineprall) (padding . 0.2) (direction . 1)) (pralldown (script-stencil feta pralldown . pralldown) (padding . 0.2) (direction . 1)) (prallup (script-stencil feta prallup . prallup) (padding . 0.2) (direction . 1)) (segno (script-stencil feta segno . segno) (padding . 0.2) (direction . 1)) (coda (script-stencil feta coda . coda) (padding . 0.2) (direction . 1)) (varcoda (script-stencil feta varcoda . varcoda) (padding . 0.2) (direction . 1)))
autoBeamCheck
to default-auto-beam-check
autoBeaming
to #t
autoBeamSettings
to '(((end * * 3 2) . #<Mom 1/2>) ((end * * 3 2) . #<Mom 1>) ((end 1 16 3 2) . #<Mom 1/4>) ((end 1 16 3 2) . #<Mom 1/2>) ((end 1 16 3 2) . #<Mom 3/4>) ((end 1 16 3 2) . #<Mom 5/4>) ((end 1 32 3 2) . #<Mom 1/8>) ((end 1 32 3 2) . #<Mom 1/4>) ((end 1 32 3 2) . #<Mom 3/8>) ((end 1 32 3 2) . #<Mom 1/2>) ((end 1 32 3 2) . #<Mom 5/8>) ((end 1 32 3 2) . #<Mom 3/4>) ((end 1 32 3 2) . #<Mom 9/8>) ((end 1 32 3 2) . #<Mom 5/4>) ((end 1 32 3 2) . #<Mom 11/8>) ((end * * 3 4) . #<Mom 3/4>) ((end 1 16 3 4) . #<Mom 1/4>) ((end 1 16 3 4) . #<Mom 1/2>) ((end 1 32 3 4) . #<Mom 1/8>) ((end 1 32 3 4) . #<Mom 1/4>) ((end 1 32 3 4) . #<Mom 3/8>) ((end 1 32 3 4) . #<Mom 1/2>) ((end 1 32 3 4) . #<Mom 5/8>) ((end * * 3 8) . #<Mom 3/8>) ((end * * 4 4) . #<Mom 1/2>) ((end 1 12 4 4) . #<Mom 1/4>) ((end 1 12 4 4) . #<Mom 3/4>) ((end 1 16 4 4) . #<Mom 1/4>) ((end 1 16 4 4) . #<Mom 3/4>) ((end 1 32 4 4) . #<Mom 1/8>) ((end 1 32 4 4) . #<Mom 1/4>) ((end 1 32 4 4) . #<Mom 3/8>) ((end 1 32 4 4) . #<Mom 5/8>) ((end 1 32 4 4) . #<Mom 3/4>) ((end 1 32 4 4) . #<Mom 7/8>) ((end * * 2 4) . #f) ((end * * 2 4) . #<Mom 1/4>) ((end 1 32 2 4) . #<Mom 1/8>) ((end 1 32 2 4) . #<Mom 3/8>) ((end * * 4 8) . #f) ((end * * 4 8) . #<Mom 1/4>) ((end 1 32 4 8) . #<Mom 1/8>) ((end 1 32 4 8) . #<Mom 3/8>) ((end * * 4 16) . #f) ((end * * 4 16) . #<Mom 1/8>) ((end * * 6 8) . #f) ((end * * 6 8) . #<Mom 3/8>) ((end 1 32 6 8) . #<Mom 1/8>) ((end 1 32 6 8) . #<Mom 1/4>) ((end 1 32 6 8) . #<Mom 1/2>) ((end 1 32 6 8) . #<Mom 5/8>) ((end * * 9 8) . #f) ((end * * 9 8) . #<Mom 3/8>) ((end * * 9 8) . #<Mom 3/4>) ((end 1 32 9 8) . #<Mom 1/8>) ((end 1 32 9 8) . #<Mom 1/4>) ((end 1 32 9 8) . #<Mom 1/2>) ((end 1 32 9 8) . #<Mom 5/8>) ((end 1 32 9 8) . #<Mom 7/8>) ((end 1 32 9 8) . #<Mom 1>) ((end 1 32 9 8) . #<Mom 9/8>) ((end * * 12 8) . #f) ((end * * 12 8) . #<Mom 3/8>) ((end * * 12 8) . #<Mom 3/4>) ((end * * 12 8) . #<Mom 9/8>) ((end * * 12 8) . #<Mom 2>) ((end 1 32 12 8) . #<Mom 1/8>))
explicitKeySignatureVisibility
to #(#t #t #t)
explicitClefVisibility
to #(#t #t #t)
automaticBars
to #t
barNumberVisibility
to first-bar-number-invisible
defaultBarType
to |
firstClef
to #t
middleCPosition
to -6
clefPosition
to -2
clefGlyph
to clefs.G
tieWaitForNote
to #f
melismaBusyProperties
to '(melismaBusy slurMelismaBusy tieMelismaBusy beamMelismaBusy)
drumStyleTable
to #<hash-table 29/61>
systemStartDelimiter
to 'SystemStartBar
printPartCombineTexts
to #t
aDueText
to a2
soloIIText
to Solo II
soloText
to Solo
noteToFretFunction
to determine-frets
Context Score can contain Staff, FiguredBass, NoteNames, Devnull, PianoStaff, ChoirStaff, GrandStaff, ChordNames, Lyrics, DrumStaff, StaffGroup, MensuralStaff, GregorianTranscriptionStaff, VaticanaStaff, TabStaff, RhythmicStaff and FretBoards
This context is built from the following engravers:
Parenthesis_engraver
parenthesize
property.
This engraver creates the following layout objects:
ParenthesesItem.
Tweak_engraver
tweaks
property from the originating event, and set properties.
Bar_number_engraver
whichBar
is set. It is
put on top of all staves, and appears only at left side of the staff. The staves are taken from stavesFound
, which is maintained by Staff_collecting_engraver
.
Properties (read)
currentBarNumber
(integer)whichBar
(string)Example:
\set Staff.whichBar = "|:"
This will create a start-repeat bar in this staff only.
Valid values are described in bar-line-interface.
stavesFound
(list of grobs)barNumberVisibility
(procedure)Stanza_number_align_engraver
Vertical_align_engraver
Properties (read)
alignAboveContext
(string)alignBelowContext
(string)Grace_spacing_engraver
Properties (read)
currentMusicalColumn
(layout object)Spacing_engraver
Music types accepted:
Properties (read)
currentMusicalColumn
(layout object)currentCommandColumn
(layout object)proportionalNotationDuration
(moment)Break_align_engraver
break-align-symbols
into groups, and order the groups according to breakAlignOrder
. The left edge of the alignment gets a separate group, with a symbol left-edge
.
This engraver creates the following layout objects:
BreakAlignGroup, BreakAlignment and LeftEdge.
Metronome_mark_engraver
stavesFound
property, which is maintained by Staff_collecting_engraver
.
Properties (read)
stavesFound
(list of grobs)metronomeMarkFormatter
(procedure)tempoUnitDuration
(duration)tempoUnitCount
(number)Mark_engraver
stavesFound
). If moving this engraver to a different context, Staff_collecting_engraver must move along, otherwise all marksend up on the same Y-location
Music types accepted:
Properties (read)
markFormatter
(procedure)rehearsalMark
(integer)stavesFound
(list of grobs)System_start_delimiter_engraver
Properties (read)
systemStartDelimiter
(symbol)SystemStartBrace
,
SystemStartBracket
or SystemStartBar
.
systemStartDelimiterHierarchy
(pair)currentCommandColumn
(layout object)Output_property_engraver
Music types accepted:
Default_bar_line_engraver
whichBar
accordingly. It should be at the same level as Timing_translator.
Properties (read)
automaticBars
(boolean)\bar
command. Unlike the \cadenza
keyword, measures
are still counted. Bar generation will resume according to that count
if this property is unset.
barAlways
(boolean)defaultBarType
(string)whichBar
for information on available bar types.
This variable is read by Timing_translator at
Score level.
measureLength
(moment)whichBar
(string)Example:
\set Staff.whichBar = "|:"
This will create a start-repeat bar in this staff only.
Valid values are described in bar-line-interface.
measurePosition
(moment)automaticBars
(boolean)\bar
command. Unlike the \cadenza
keyword, measures
are still counted. Bar generation will resume according to that count
if this property is unset.
Timing_translator
Timing
to its containing context.Responsible for synchronizing timing information from staves. Normally in Score
. In order to create polyrhythmic music, this engraver should be removed from Score
and placed in Staff
.
This engraver adds the alias Timing
to its containing context.
Properties (read)
internalBarNumber
(integer)Accidental_engraver
.
currentBarNumber
(integer)measureLength
(moment)measurePosition
(moment)internalBarNumber
(integer)Accidental_engraver
.
currentBarNumber
(integer)measurePosition
(moment)Staff_collecting_engraver
Properties (read)
stavesFound
(list of grobs)stavesFound
(list of grobs)Repeat_acknowledge_engraver
Properties (read)
repeatCommands
(list)(volta .
x)
, where x is a string or #f
whichBar
(string)Example:
\set Staff.whichBar = "|:"
This will create a start-repeat bar in this staff only. Valid values are described in bar-line-interface.
Vertically_spaced_contexts_engraver
Properties (read)
verticallySpacedContexts
(list)verticallySpacedContexts
(list)Paper_column_engraver
This engraver decides whether a column is breakable. The default is that a column is always breakable. However, every Bar_engraver that does not have a barline at a certain point will set forbidBreaks in the score context to stop linebreaks. In practice, this means that you can make a breakpoint by creating a barline (assuming that there are no beams or notes that prevent a breakpoint.)
Music types accepted:
Properties (read)
forbidBreak
(boolean)forbidBreak
(boolean)currentCommandColumn
(layout object)currentMusicalColumn
(layout object)Next: Staff, Previous: RhythmicStaff, Up: Contexts
This page is for LilyPond-2.10.33 (stable-branch).