5 There are several ways to calculate the direction of a beam.
8 number count of up or down notes
10 mean center distance of all notes
12 mean centre distance weighted per note
15 You can spot the differences of these settings from these simple
18 These beam direction functions are defined in @file{scm/beam.scm}. If
19 your favourite algorithm isn't one of these, you can hook up your own.
23 \paper { linewidth = -1.}
26 \property Voice.Beam \set #'dir-function = #beam-dir-majority
28 \property Voice.Beam \set #'dir-function = #beam-dir-mean
30 \property Voice.Beam \set #'dir-function = #beam-dir-median
34 \property Voice.Beam \set #'dir-function = #beam-dir-majority
36 \property Voice.Beam \set #'dir-function = #beam-dir-mean
38 \property Voice.Beam \set #'dir-function = #beam-dir-median
44 %% LilyPond-indent-level:2