]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/automatic-beam-subdivisions.ly
Change stringTunings from list of semitones to list of pitches
[lilypond.git] / Documentation / snippets / automatic-beam-subdivisions.ly
index 4e4218fd20fa4eed58aa3455d7f8f7cf0cbef4d1..b75d6f305d57955f95f8248e127977f10d1ab995 100644 (file)
@@ -1,12 +1,11 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.13.16"
+% Do not edit this file; it is automatically
+% generated from Documentation/snippets/new
+% This file is in the public domain.
+%% Note: this file works from version 2.13.36
+\version "2.13.46"
 
 \header {
-  lsrtags = "rhythms"
-
-%% Translation of GIT committish: 5a7301fc350ffc3ab5bd3a2084c91666c9e9a549
+%% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
   texidoces = "
 Se pueden subdividir las barras automáticamente.  Estableciendo la
 propiedad @code{subdivideBeams}, las barras se subdividen en
@@ -15,15 +14,18 @@ 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{beatLength}).
+specified in @code{baseMoment}).
 
 "
   doctitle = "Automatic beam subdivisions"
 } % begin verbatim
 
+
 \new Staff {
   \relative c'' {
     <<
@@ -40,10 +42,12 @@ specified in @code{beatLength}).
       }
     >>
     \oneVoice
-    \set beatLength = #(ly:make-moment 1 8)
-    b32^"beatLength 1 8"[ a g f c' b a g]
-    \set beatLength = #(ly:make-moment 1 16)
-    b32^"beatLength 1 16"[ a g f c' b a g]
+    \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]
   }
 }