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