]> git.donarmstrong.com Git - lilypond.git/blob - ly/auto-beam-settings.ly
c1911c70743fd5eb6fbc0cf73b759a32cd07b0fd
[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 = "1/4";
29 time3_4beamAutoEnd_8 = "3/4";
30 time3_4beamAutoBegin_32 = "1/8";
31 time3_4beamAutoEnd_32 = "1/8";
32
33 time3_8beamAutoBegin = "1/8";
34 time3_8beamAutoEnd = "3/8";
35
36 % in common time:
37 %   end beams each 1/2 note
38 %   end beams with 32th notes each 1/8 note
39 %   end beams with 1/8 triplets each 1/4 note
40
41 time4_4beamAutoEnd_8 = "1/2";
42 time4_4beamAutoEnd_12 = "1/4";
43 time4_4beamAutoEnd_32 = "1/8";
44
45 time4_8beamAutoEnd_8 = "1/4";
46 time4_8beamAutoEnd_16 = "1/4";
47 time4_8beamAutoEnd_32 = "1/8";
48
49 time4_16beamAutoEnd = "1/8";
50
51 time6_8beamAutoEnd_8 = "3/8";
52 time6_8beamAutoEnd_16 = "3/8";
53 time6_8beamAutoEnd_32 = "1/8";
54
55 time9_8beamAutoEnd_8 = "3/8";
56 time9_8beamAutoEnd_16 = "3/8";
57 time9_8beamAutoEnd_32 = "1/8";
58
59 time12_8beamAutoEnd_8 = "3/8";
60 time12_8beamAutoEnd_16 = "3/8";
61 time12_8beamAutoEnd_32 = "1/8";
62
63 %{
64
65 Users may override in most cases, simply by issuing
66
67     % from here on consider ending beam every 1/4 note
68     \property Voice.beamAutoEnd = "1/4"
69
70     % no autobeaming
71     \property Voice.beamAuto = "0"  
72
73 or, more globally, by doing:
74
75  \paper{
76         \translator{
77             \VoiceContext
78             % consider ending beam at every 1/2 note
79             beamAutoEnd = "1/2";
80         }
81     }
82
83 see also input/test/auto-beam-override.ly
84
85 %}
86