]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/automatic-beam-subdivisions.ly
79bf5d015b513966c24f7e7471dbb9f4ee75fc9d
[lilypond.git] / Documentation / snippets / automatic-beam-subdivisions.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.16"
5
6 \header {
7   lsrtags = "rhythms"
8
9 %% Translation of GIT committish: 2b0dc29608d6c3f5a03ead4877ae514c647adb74
10   texidoces = "
11 Se pueden subdividir las barras automáticamente.  Estableciendo la
12 propiedad @code{subdivideBeams}, las barras se subdividen en
13 posiciones de pulso (tal y como se especifica en @code{beatLength}).
14
15 "
16   doctitlees = "Subdivisiones de barra automáticas"
17
18   texidoc = "
19 Beams can be subdivided automatically.  By setting the property
20 @code{subdivideBeams}, beams are subdivided at beat positions (as
21 specified in @code{beatLength}).
22
23 "
24   doctitle = "Automatic beam subdivisions"
25 } % begin verbatim
26
27 \new Staff {
28   \relative c'' {
29     <<
30       {
31         \voiceOne
32         \set subdivideBeams = ##t
33         b32[ a g f c' b a g
34         b32^"subdivide beams" a g f c' b a g]
35       }
36       \new Voice {
37         \voiceTwo
38         b32_"default"[ a g f c' b a g
39         b32 a g f c' b a g]
40       }
41     >>
42     \oneVoice
43     \set beatLength = #(ly:make-moment 1 8)
44     b32^"beatLength 1 8"[ a g f c' b a g]
45     \set beatLength = #(ly:make-moment 1 16)
46     b32^"beatLength 1 16"[ a g f c' b a g]
47   }
48 }
49