X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fautomatic-beam-subdivisions.ly;h=0bec3ff0efeb907f3d79f0cd53470c925d3fdcf6;hb=f3a35eaef2b78440cdb150d36d8ff6d93e9c8d46;hp=6711dd6bdd5a1f9fb13734663d81e73e8e375bfe;hpb=e88eca13f1a87dbd3a57a7a492deea95b0473753;p=lilypond.git diff --git a/Documentation/snippets/automatic-beam-subdivisions.ly b/Documentation/snippets/automatic-beam-subdivisions.ly index 6711dd6bdd..0bec3ff0ef 100644 --- a/Documentation/snippets/automatic-beam-subdivisions.ly +++ b/Documentation/snippets/automatic-beam-subdivisions.ly @@ -1,12 +1,14 @@ -%% 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.20" +% 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.13.36 +\version "2.13.36" \header { - lsrtags = "rhythms" - -%% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b +%% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d texidoces = " Se pueden subdividir las barras automáticamente. Estableciendo la propiedad @code{subdivideBeams}, las barras se subdividen en @@ -15,15 +17,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 +45,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] } }