]> git.donarmstrong.com Git - lilypond.git/blob - ly/auto-beam-settings.ly
dfdd44297e4015dec431427c87315c728cc3eab3
[lilypond.git] / ly / auto-beam-settings.ly
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).
3 %%duh
4
5 % auto-beam-settings.ly
6 % setup for auto-beam engraver
7 %
8 % specify generic beam end times
9
10 % format:
11 %
12 %     [time-signature]'beamAutoEnd'[duration]
13 %
14 % where
15 %
16 %     time-signature = 'time'[numerator]'_'denominator; eg: 3_4
17 %     duration = [numerator]'_'denominator; eg: 3_8, _16
18 %
19
20 % in 3/2 time:
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";
27
28 time3_4beamAutoBegin_8 = "1/4";
29 time3_4beamAutoEnd = "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";
34
35 time3_8beamAutoBegin = "1/8";
36 time3_8beamAutoEnd = "3/8";
37
38 % in common time:
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
42
43 time4_4beamAutoEnd = "1/2";
44 time4_4beamAutoEnd_12 = "1/4";
45 time4_4beamAutoEnd_32 = "1/8";
46
47 time4_8beamAutoEnd = "1/4";
48 time4_8beamAutoEnd_16 = "1/4";
49 time4_8beamAutoEnd_32 = "1/8";
50
51 time4_16beamAutoEnd = "1/8";
52
53 time6_8beamAutoEnd = "3/8";
54 time6_8beamAutoEnd_16 = "3/8";
55 time6_8beamAutoEnd_32 = "1/8";
56
57 time9_8beamAutoEnd = "3/8";
58 time9_8beamAutoEnd_16 = "3/8";
59 time9_8beamAutoEnd_32 = "1/8";
60
61 time12_8beamAutoEnd = "3/8";
62 time12_8beamAutoEnd_16 = "3/8";
63 time12_8beamAutoEnd_32 = "1/8";
64
65 %{
66
67 Users may override in most cases, simply by issuing
68
69     % from here on consider ending beam every 1/4 note
70     \property Voice.beamAutoEnd = "1/4"
71
72     % no autobeaming
73     \property Voice.beamAuto = "0"  
74
75 or, more globally, by doing:
76
77  \paper{
78         \translator{
79             \VoiceContext
80             % consider ending beam at every 1/2 note
81             beamAutoEnd = "1/2";
82         }
83     }
84
85 see also input/test/auto-beam-override.ly
86
87 %}
88