]> git.donarmstrong.com Git - lilypond.git/blob - ly/auto-beam-settings.ly
71b2c55cabe8f78c064bda1a4fab687c900e58f9
[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_16 = "1/4";
46 time4_4beamAutoEnd_32 = "1/8";
47
48 time4_8beamAutoEnd = "1/4";
49 time4_8beamAutoEnd_16 = "1/4";
50 time4_8beamAutoEnd_32 = "1/8";
51
52 time4_16beamAutoEnd = "1/8";
53
54 time6_8beamAutoEnd = "3/8";
55 time6_8beamAutoEnd_16 = "3/8";
56 time6_8beamAutoEnd_32 = "1/8";
57
58 time9_8beamAutoEnd = "3/8";
59 time9_8beamAutoEnd_16 = "3/8";
60 time9_8beamAutoEnd_32 = "1/8";
61
62 time12_8beamAutoEnd = "3/8";
63 time12_8beamAutoEnd_16 = "3/8";
64 time12_8beamAutoEnd_32 = "1/8";
65
66
67
68 %{
69
70 Users may override in most cases, simply by issuing
71
72     % from here on consider ending beam every 1/4 note
73     \property Voice.beamAutoEnd = "1/4"
74
75     % no autobeaming
76     \property Voice.beamAuto = "0"  
77
78 or, more globally, by doing:
79
80  \paper{
81         \translator{
82             \VoiceContext
83             % consider ending beam at every 1/2 note
84             beamAutoEnd = "1/2";
85         }
86     }
87
88 see also input/test/auto-beam-override.ly
89
90 %}
91