4 There are several ways to calculate the direction of a beam.
7 number count of up or down notes
9 mean center distance of all notes
11 mean centre distance weighted per note
14 You can spot the differences of these settings from these simple
17 These beam direction functions are defined in @file{scm/beam.scm}. If
18 your favourite algorithm isn't one of these, you can hook up your own.
22 \paper { linewidth = -1.;}
23 \score { \notes \relative c {
25 \property Voice.Beam \set #'dir-function = #beam-dir-mean
27 \property Voice.Beam \set #'dir-function = #beam-dir-median
30 \score { \notes \relative c {
33 \property Voice.Beam \set #'dir-function = #beam-dir-mean
35 \property Voice.Beam \set #'dir-function = #beam-dir-median