]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/automatic-beam-subdivisions.ly
resolve merge
[lilypond.git] / Documentation / snippets / automatic-beam-subdivisions.ly
diff --git a/Documentation/snippets/automatic-beam-subdivisions.ly b/Documentation/snippets/automatic-beam-subdivisions.ly
new file mode 100644 (file)
index 0000000..07e8582
--- /dev/null
@@ -0,0 +1,56 @@
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.14.0
+\version "2.14.0"
+
+\header {
+%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+  texidoces = "
+Se pueden subdividir las barras automáticamente.  Estableciendo la
+propiedad @code{subdivideBeams}, las barras se subdividen en
+posiciones de pulso (tal y como se especifica en @code{beatLength}).
+
+"
+  doctitlees = "Subdivisiones de barra automáticas"
+
+  lsrtags = "rhythms"
+
+  texidoc = "
+Beams can be subdivided automatically.  By setting the property
+@code{subdivideBeams}, beams are subdivided at beat positions (as
+specified in @code{baseMoment}).
+
+"
+  doctitle = "Automatic beam subdivisions"
+} % begin verbatim
+
+
+\new Staff {
+  \relative c'' {
+    <<
+      {
+        \voiceOne
+        \set subdivideBeams = ##t
+        b32[ a g f c' b a g
+        b32^"subdivide beams" a g f c' b a g]
+      }
+      \new Voice {
+        \voiceTwo
+        b32_"default"[ a g f c' b a g
+        b32 a g f c' b a g]
+      }
+    >>
+    \oneVoice
+    \set baseMoment = #(ly:make-moment 1 8)
+    \set beatStructure = #'(2 2 2 2)
+    b32^"baseMoment 1 8"[ a g f c' b a g]
+    \set baseMoment = #(ly:make-moment 1 16)
+    \set beatStructure = #'(4 4 4 4)
+    b32^"baseMoment 1 16"[ a g f c' b a g]
+  }
+}
+