| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < BassFigureLine ] | [ Up: All layout objects ] | [ BendAfter > ] |
3.1.19 Beam
A beam.
Beam objects are created by the following engraver(s): Auto_beam_engraver, Beam_engraver, Chord_tremolo_engraver, Grace_auto_beam_engraver and Grace_beam_engraver.
Standard settings:
accidental-padding(number):
1.0Property used by Beam to avoid accidentals in whole note tremolos.
auto-knee-gap(dimension, in staff space):
5.5If a gap is found between note heads where a horizontal beam fits and it is larger than this number, make a kneed beam.
beam-thickness(dimension, in staff space):
0.48Beam thickness, measured in
staff-spaceunits.beamed-stem-shorten(list): '(1.0 0.5 0.25)How much to shorten beamed stems, when their direction is forced. It is a list, since the value is different depending on the number of flags and beams.
beaming(pair):
ly:beam::calc-beamingPair of number lists. Each number list specifies which beams to make.
0is the central beam,1is the next beam toward the note, etc. This information is used to determine how to connect the beaming patterns from stem to stem inside a beam.clip-edges(boolean):
#tAllow outward pointing beamlets at the edges of beams?
collision-interfaces(list): '(beam-interface clef-interface clef-modifier-interface flag-interface inline-accidental-interface key-signature-interface note-head-interface stem-interface time-signature-interface)A list of interfaces for which automatic beam-collision resolution is run.
damping(number):
1Amount of beam slope damping.
details(alist, with symbols as keys): '((beam-eps . 0.001) (collision-padding . 0.35) (collision-penalty . 500) (damping-direction-penalty . 800) (hint-direction-penalty . 20) (ideal-slope-factor . 10) (musical-direction-factor . 400) (over-beam-height . 0.75) (region-size . 2) (round-to-zero-slope . 0.02) (secondary-beam-demerit . 10) (slash-slope . 2) (slash-side . -1) (slash-stem-fraction . 0.3) (slash-thickness . 0.1) (slash-X-positions -0.5 . 1) (stem-collision-factor . 0.1) (stem-length-demerit-factor . 5) (stem-length-limit-penalty . 5000))An alist of parameters for detailed grob behavior. See All layout objects for more information on the available parameters and their default values of a particular grob’s
detailsproperty. See Graphical Object Interfaces for documentation of the available parameters. Supporting interfaces can be found at the bottom of a grob’s description section.direction(direction):
ly:beam::calc-directionIf
side-axisis0(orX), then this property determines whether the object is placedLEFT,CENTERorRIGHTwith respect to the other object. Otherwise, it determines whether the object is placedUP,CENTERorDOWN. Numerical values may also be used:UP=1,DOWN=-1,LEFT=-1,RIGHT=1,CENTER=0.font-size(number):
-6The font size, compared to the ‘normal’ size.
0is style-sheet’s normal size,-1is smaller,+1is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context propertyfontSizeis set, its value is added to this before the glyph is printed. Fractional values are allowed.gap(dimension, in staff space):
0.8Size of a gap in a variable symbol.
knee(boolean):
ly:beam::calc-kneeIs this beam kneed?
minimum-length(dimension, in staff space):
6.0Try to make a spanner at least this long, normally in the horizontal direction. This requires an appropriate callback for the
springs-and-rodsproperty. If added to aTie, this sets the minimum distance between noteheads.neutral-direction(direction):
-1Which direction to take in the center of the staff.
normalized-endpoints(pair):
ly:spanner::calc-normalized-endpointsRepresents left and right placement over the total spanner, where the width of the spanner is normalized between 0 and 1.
positions(pair of numbers):
beam::place-broken-parts-individuallyPair of staff coordinates
(start . end), where start and end are vertical positions instaff-spaceunits of the current staff. For slurs, this value selects which slur candidate to use; if extreme positions are requested, the closest one is taken.springs-and-rods(boolean):
ly:beam::tremolo-springs-and-rodsDummy variable for triggering spacing routines.
stencil(stencil):
ly:beam::printThe symbol to print.
transparent(boolean):
#<procedure at lily/output-lib.scm:1702:0 (grob)>This makes the grob invisible.
vertical-skylines(pair of skylines):
#<unpure-pure-container ly:grob::vertical-skylines-from-stencil ly:grob::pure-simple-vertical-skylines-from-extents >Two skylines, one above and one below this grob.
X-positions(pair of numbers):
ly:beam::calc-x-positionsPair of X staff coordinates of a spanner in the form
(left . right), where both left and right are instaff-spaceunits of the current staff.
This object supports the following interface(s):
beam-interface, grob-interface, spanner-interface, staff-symbol-referencer-interface and unbreakable-spanner-interface.
This object is of class Spanner (characterized by spanner-interface).
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < BassFigureLine ] | [ Up: All layout objects ] | [ BendAfter > ] |