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