]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/partcombine-and-autobeamoff.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / partcombine-and-autobeamoff.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "rhythms"
11
12   texidoc = "
13 The function of @code{\\autoBeamOff} when used with
14 @code{\\partcombine} can be difficult to understand.
15
16 It may be preferable to use
17
18
19 @code{\\set Staff.autoBeaming = ##f}
20
21
22 instead, to ensure that autobeaming will be turned off for the entire
23 staff.
24
25
26 @code{\\partcombine} apparently works with 3 voices -- stem up single,
27 stem down single, stem up combined.
28
29
30 An @code{\\autoBeamOff} call in the first argument to partcombine will
31 apply to the voice that is active at the time the call is processed,
32 either stem up single or stem up combined. An @code{\\autoBeamOff} call
33 in the second argument will apply to the voice that is stem down single.
34
35
36 In order to use @code{\\autoBeamOff} to stop all autobeaming when used
37 with @code{\\partcombine}, it will be necessary to use three calls to
38 @code{\\autoBeamOff}.
39
40
41
42
43 "
44   doctitle = "Partcombine and autoBeamOff"
45 } % begin verbatim
46
47
48 {
49   %\set Staff.autoBeaming = ##f % turns off all autobeaming
50   \partcombine
51   {
52     \autoBeamOff % applies to split up stems
53     \repeat unfold 4 a'16
54     %\autoBeamOff % applies to combined up stems
55     \repeat unfold 4 a'8
56     \repeat unfold 4 a'16
57   }
58   {
59     \autoBeamOff % applies to down stems
60     \repeat unfold 4 f'8
61     \repeat unfold 8 f'16 |
62   }
63 }