1 %%In the file ly/auto-beam-settings.ly, all necessary i-iii settings should
2 %%be listed, here's a new version with more comments, (hw, please include).
5 % auto-beam-settings.ly
6 % setup for auto-beam engraver
8 % specify generic beam end times
12 % [time-signature]'beamAutoEnd'[duration]
16 % time-signature = 'time'[numerator]'_'denominator; eg: 3_4
17 % duration = [numerator]'_'denominator; eg: 3_8, _16
21 % end beams each 1/2 note
22 % end beams with 16th notes each 1/4 note
23 % end beams with 32th notes each 1/8 note
24 time3_2beamAutoEnd = "1/2";
25 time3_2beamAutoEnd_16 = "1/4";
26 time3_2beamAutoEnd_32 = "1/8";
28 time3_4beamAutoBegin_8 = "1/4";
29 time3_4beamAutoEnd_8 = "3/4";
30 time3_4beamAutoBegin_16 = "1/16";
31 time3_4beamAutoEnd_16 = "1/4";
32 %time3_4beamAutoBegin_32 = "1/8";
33 time3_4beamAutoEnd_32 = "1/8";
35 time3_8beamAutoBegin = "1/8";
36 time3_8beamAutoEnd = "3/8";
39 % end beams each 1/2 note
40 % end beams with 32th notes each 1/8 note
41 % end beams with 1/8 triplets each 1/4 note
43 time4_4beamAutoEnd_8 = "1/2";
44 time4_4beamAutoEnd_12 = "1/4";
45 time4_4beamAutoEnd_32 = "1/8";
47 time4_8beamAutoEnd_8 = "1/4";
48 time4_8beamAutoEnd_16 = "1/4";
49 time4_8beamAutoEnd_32 = "1/8";
51 time4_16beamAutoEnd = "1/8";
53 time6_8beamAutoEnd_8 = "3/8";
54 time6_8beamAutoEnd_16 = "3/8";
55 time6_8beamAutoEnd_32 = "1/8";
57 time9_8beamAutoEnd_8 = "3/8";
58 time9_8beamAutoEnd_16 = "3/8";
59 time9_8beamAutoEnd_32 = "1/8";
61 time12_8beamAutoEnd_8 = "3/8";
62 time12_8beamAutoEnd_16 = "3/8";
63 time12_8beamAutoEnd_32 = "1/8";
67 Users may override in most cases, simply by issuing
69 % from here on consider ending beam every 1/4 note
70 \property Voice.beamAutoEnd = "1/4"
73 \property Voice.beamAuto = "0"
75 or, more globally, by doing:
80 % consider ending beam at every 1/2 note
85 see also input/test/auto-beam-override.ly