X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fautomatic-beam-subdivisions.ly;h=b75d6f305d57955f95f8248e127977f10d1ab995;hb=17f11c2f5ab963bfb07b7652b4860dc4dda5540a;hp=4e4218fd20fa4eed58aa3455d7f8f7cf0cbef4d1;hpb=162b5d842f34770c92b173878348a0afcc81f281;p=lilypond.git diff --git a/Documentation/snippets/automatic-beam-subdivisions.ly b/Documentation/snippets/automatic-beam-subdivisions.ly index 4e4218fd20..b75d6f305d 100644 --- a/Documentation/snippets/automatic-beam-subdivisions.ly +++ b/Documentation/snippets/automatic-beam-subdivisions.ly @@ -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] } }