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.}
24 \score { \notes \relative c {
26 \property Voice.Beam \set #'dir-function = #beam-dir-mean
28 \property Voice.Beam \set #'dir-function = #beam-dir-median
31 \score { \notes \relative c {
34 \property Voice.Beam \set #'dir-function = #beam-dir-mean
36 \property Voice.Beam \set #'dir-function = #beam-dir-median