| [ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
| [ < StaffGroup ] | [ Up : Contexts ] | [ TabVoice > ] |
2.1.30 TabStaff
Context for generating tablature. It accepts only TabVoice
contexts and handles the line spacing, the tablature clef etc. properly.
This context also accepts commands for the following context(s):
Staff.
This context creates the following layout object(s):
BarLine, BassFigure, BassFigureAlignment, BassFigureAlignmentPositioning, BassFigureBracket, BassFigureContinuation, BassFigureLine, Clef, ClefModifier, CueClef, CueEndClef, DotColumn, FingeringColumn, InstrumentName, LedgerLineSpanner, NoteCollision, PianoPedalBracket, RestCollision, ScriptRow, SostenutoPedal, SostenutoPedalLineSpanner, StaffEllipsis, StaffSpacing, StaffSymbol, SustainPedal, SustainPedalLineSpanner, TimeSignature, UnaCordaPedal, UnaCordaPedalLineSpanner and VerticalAxisGroup.
This context sets the following properties:
- Set grob property
after-line-breakinginRepeatTietorepeat-tie::handle-tab-note-head. - Set grob property
after-line-breakinginTietotie::handle-tab-note-head. - Set grob property
avoid-note-headinStemto#t. - Set grob property
beam-thicknessinBeamto0.32. - Set grob property
beam-thicknessinStemTremoloto0.32. - Set grob property
beam-widthinStemTremolotostem-tremolo::calc-tab-width. - Set grob property
bound-details.leftinGlissandoto:'((attach-dir . 1) (padding . 0.3))
- Set grob property
bound-details.rightinGlissandoto:'((attach-dir . -1) (padding . 0.3))
- Set grob property
control-pointsinSlurto#<unpure-pure-container #<procedure #f (grob)> #<procedure #f (grob . rest)> >. - Set grob property
detailsinStemto:'((lengths 0 0 0 0 0 0) (beamed-lengths 0 0 0) (beamed-minimum-free-lengths 0 0 0) (beamed-extreme-minimum-free-lengths 0 0) (stem-shorten 0 0))
- Set grob property
extra-dyinGlissandotoglissando::calc-tab-extra-dy. - Set grob property
glyph-nameinTabNoteHeadtotab-note-head::calc-glyph-name. - Set grob property
ignore-collisioninNoteColumnto#t. - Set grob property
length-fractioninBeamto0.62. - Set grob property
length-fractioninStemTremoloto#<procedure #f (grob)>. - Set grob property
no-stem-extendinStemto#t. - Set grob property
staff-spaceinStaffSymbolto1.5. - Set grob property
stencilinArpeggioto#f. - Set grob property
stencilinBeamto#f. - Set grob property
stencilinCleftoclef::print-modern-tab-if-set. - Set grob property
stencilinDotsto#f. - Set grob property
stencilinDynamicTextSpannerto#f. - Set grob property
stencilinDynamicTextto#f. - Set grob property
stencilinFlagto#f. - Set grob property
stencilinGlissandotoglissando::draw-tab-glissando. - Set grob property
stencilinHairpinto#f. - Set grob property
stencilinLaissezVibrerTieto#f. - Set grob property
stencilinMultiMeasureRestNumberto#f. - Set grob property
stencilinMultiMeasureRestScriptto#f. - Set grob property
stencilinMultiMeasureRestTextto#f. - Set grob property
stencilinMultiMeasureRestto#f. - Set grob property
stencilinPhrasingSlurto#f. - Set grob property
stencilinRepeatTieto#f. - Set grob property
stencilinRestto#f. - Set grob property
stencilinScriptto#f. - Set grob property
stencilinStemTremoloto#f. - Set grob property
stencilinStemto#f. - Set grob property
stencilinTabNoteHeadtotab-note-head::whiteout-if-style-set. - Set grob property
stencilinTextScriptto#f. - Set grob property
stencilinTextSpannerto#f. - Set grob property
stencilinTieto#f. - Set grob property
stencilinTimeSignatureto#f. - Set grob property
stencilinTupletBracketto#f. - Set grob property
stencilinTupletNumberto#f. - Set grob property
styleinFlagto'no-flag. - Set translator property
autoBeamingto#f. - Set translator property
clefGlyphto"clefs.tab". - Set translator property
clefPositionto0. - Set translator property
createSpacingto#t. - Set translator property
handleNegativeFretsto'recalculate. - Set translator property
ignoreFiguredBassRestto#f. - Set translator property
instrumentNameto'(). - Set translator property
localAlterationsto'(). - Set translator property
ottavationMarkupsto:'((4 . "29") (3 . "22") (2 . "15") (1 . "8") (-1 . "8") (-2 . "15") (-3 . "22") (-4 . "29"))
- Set translator property
restrainOpenStringsto#f. - Set translator property
shortInstrumentNameto'().
This is not a ‘Bottom’ context; search for such a one will commence after creating an implicit context of type TabVoice.
Context TabStaff can contain
CueVoice, NullVoice and TabVoice.
This context is built from the following engraver(s):
Alteration_glyph_engraverSet the
glyph-name-alistof all grobs having theaccidental-switch-interfaceto the value of the context’salterationGlyphsproperty, when defined.Properties (read)
alterationGlyphs(list)Alist mapping alterations to accidental glyphs. Alterations are given as exact numbers, e.g., -1/2 for flat. This applies to all grobs that can print accidentals.
Axis_group_engraverGroup all objects created in this context in a
VerticalAxisGroupspanner.Properties (read)
currentCommandColumn(graphical (layout) object)Grob that is X-parent to all current breakable (clef, key signature, etc.) items.
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_engraverCreate barlines. This engraver is controlled through the
whichBarproperty. 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.Properties (read)
measureBarType(string)Value for
whichBarat a measure boundary.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)
forbidBreak(boolean)If set to
#t, prevent a line break at this point.This engraver creates the following layout object(s):
BarLine.Clef_engraverDetermine and set reference point for pitches.
Properties (read)
clefGlyph(string)Name of the symbol within the music font.
clefPosition(number)Where should the center of the clef symbol go, measured in half staff spaces from the center of the staff.
clefTransposition(integer)Add this much extra transposition. Values of 7 and -7 are common.
clefTranspositionStyle(symbol)Determines the way the ClefModifier grob is displayed. Possible values are ‘default’, ‘parenthesized’ and ‘bracketed’.
explicitClefVisibility(vector)‘break-visibility’ function for clef changes.
forceClef(boolean)Show clef symbol, even if it has not changed. Only active for the first clef after the property is set, not for the full staff.
This engraver creates the following layout object(s):
ClefandClefModifier.Collision_engraverCollect
NoteColumns, and as soon as there are two or more, put them in aNoteCollisionobject.This engraver creates the following layout object(s):
NoteCollision.Cue_clef_engraverDetermine and set reference point for pitches in cued voices.
Properties (read)
clefTransposition(integer)Add this much extra transposition. Values of 7 and -7 are common.
cueClefGlyph(string)Name of the symbol within the music font.
cueClefPosition(number)Where should the center of the clef symbol go, measured in half staff spaces from the center of the staff.
cueClefTransposition(integer)Add this much extra transposition. Values of 7 and -7 are common.
cueClefTranspositionStyle(symbol)Determines the way the ClefModifier grob is displayed. Possible values are ‘default’, ‘parenthesized’ and ‘bracketed’.
explicitCueClefVisibility(vector)‘break-visibility’ function for cue clef changes.
middleCCuePosition(number)The position of the middle C, as determined only by the clef of the cue notes. This can be calculated by looking at
cueClefPositionandcueClefGlyph.This engraver creates the following layout object(s):
ClefModifier,CueClefandCueEndClef.Dot_column_engraverEngrave 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.Figured_bass_engraverMake figured bass numbers.
Music types accepted:
bass-figure-eventandrest-eventProperties (read)
figuredBassAlterationDirection(direction)Where to put alterations relative to the main figure.
figuredBassCenterContinuations(boolean)Whether to vertically center pairs of extender lines. This does not work with three or more lines.
figuredBassFormatter(procedure)A routine generating a markup for a bass figure.
ignoreFiguredBassRest(boolean)Don’t swallow rest events.
implicitBassFigures(list)A list of bass figures that are not printed as numbers, but only as extender lines.
useBassFigureExtenders(boolean)Whether to use extender lines for repeated bass figures.
This engraver creates the following layout object(s):
BassFigure,BassFigureAlignment,BassFigureBracket,BassFigureContinuationandBassFigureLine.Figured_bass_position_engraverPosition figured bass alignments over notes.
This engraver creates the following layout object(s):
BassFigureAlignmentPositioning.Fingering_column_engraverFind potentially colliding scripts and put them into a
FingeringColumnobject; that will fix the collisions.This engraver creates the following layout object(s):
FingeringColumn.Font_size_engraverPut
fontSizeintofont-sizegrob property.Properties (read)
fontSize(number)The relative size of all grobs in a context.
Grob_pq_engraverAdministrate when certain grobs (e.g., note heads) stop playing.
Properties (read)
busyGrobs(list)A queue of
(end-moment . grob)cons cells. This is for internal (C++) use only. This property contains the grobs which are still busy (e.g. note heads, spanners, etc.).Properties (write)
busyGrobs(list)A queue of
(end-moment . grob)cons cells. This is for internal (C++) use only. This property contains the grobs which are still busy (e.g. note heads, spanners, etc.).Instrument_name_engraverCreate a system start text for instrument or vocal names.
Properties (read)
currentCommandColumn(graphical (layout) object)Grob that is X-parent to all current breakable (clef, key signature, etc.) items.
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_engraverCreate the spanner to draw ledger lines, and notices objects that need ledger lines.
This engraver creates the following layout object(s):
LedgerLineSpanner.Merge_mmrest_numbers_engraverEngraver to merge multi-measure rest numbers in multiple voices.
This works by gathering all multi-measure rest numbers at a time step. If they all have the same text and there are at least two only the first one is retained and the others are hidden.
Output_property_engraverApply a procedure to any grob acknowledged.
Music types accepted:
apply-output-eventPiano_pedal_align_engraverAlign piano pedal symbols and brackets.
Properties (read)
currentCommandColumn(graphical (layout) object)Grob that is X-parent to all current breakable (clef, key signature, etc.) items.
This engraver creates the following layout object(s):
SostenutoPedalLineSpanner,SustainPedalLineSpannerandUnaCordaPedalLineSpanner.Piano_pedal_engraverEngrave piano pedal symbols and brackets.
Music types accepted:
sostenuto-event,sustain-eventanduna-corda-eventProperties (read)
currentCommandColumn(graphical (layout) object)Grob that is X-parent to all current breakable (clef, key signature, etc.) items.
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,bracketormixed(both).pedalUnaCordaStrings(list)See
pedalSustainStrings.pedalUnaCordaStyle(symbol)See
pedalSustainStyle.This engraver creates the following layout object(s):
PianoPedalBracket,SostenutoPedal,SustainPedalandUnaCordaPedal.Pure_from_neighbor_engraverCoordinates items that get their pure heights from their neighbors.
Rest_collision_engraverHandle collisions of rests.
Properties (read)
busyGrobs(list)A queue of
(end-moment . grob)cons cells. This is for internal (C++) use only. This property contains the grobs which are still busy (e.g. note heads, spanners, etc.).This engraver creates the following layout object(s):
RestCollision.Script_row_engraverDetermine order in horizontal side position elements.
This engraver creates the following layout object(s):
ScriptRow.Separating_line_group_engraverGenerate objects for computing spacing parameters.
Properties (read)
createSpacing(boolean)Create
StaffSpacingobjects? Should be set for staves.Properties (write)
hasStaffSpacing(boolean)True if the current
CommandColumncontains items that will affect spacing.This engraver creates the following layout object(s):
StaffSpacing.Skip_typesetting_engraverCreate a
StaffEllipsiswhenskipTypesettingis used.Properties (read)
skipTypesetting(boolean)If true, no typesetting is done, speeding up the interpretation phase. Useful for debugging large scores.
This engraver creates the following layout object(s):
StaffEllipsis.Staff_collecting_engraverMaintain the
stavesFoundvariable.Properties (read)
stavesFound(list of grobs)A list of all staff-symbols found.
Properties (write)
stavesFound(list of grobs)A list of all staff-symbols found.
Staff_symbol_engraverCreate the constellation of five (default) staff lines.
Music types accepted:
staff-span-eventThis engraver creates the following layout object(s):
StaffSymbol.Tab_staff_symbol_engraverCreate a tablature staff symbol, but look at
stringTuningsfor the number of lines.Properties (read)
stringTunings(list)The tablature strings tuning. It is a list of the pitches of each string (starting with the lowest numbered one).
This engraver creates the following layout object(s):
StaffSymbol.Time_signature_engraverCreate a
TimeSignaturewhenevertimeSignatureFractionchanges.Music types accepted:
time-signature-eventProperties (read)
initialTimeSignatureVisibility(vector)break visibility for the initial time signature.
partialBusy(boolean)Signal that \partial acts at the current timestep.
timeSignatureFraction(fraction, as pair)A pair of numbers, signifying the time signature. For example,
'(4 . 4)is a 4/4 time signature.This engraver creates the following layout object(s):
TimeSignature.
| [ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
| [ < StaffGroup ] | [ Up : Contexts ] | [ TabVoice > ] |