X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-time-signatures-inside-a-polymetric-section-using--scaledurations.ly;h=6b37d262db98c34fbe131cbbdd8afed7e935085b;hb=65ba9df14e3a74b78689aa9e504d9d45f9cd35ac;hp=fafa772f15ec11272bebb0a2d5d50f5d92c550e2;hpb=580faff1d6167b1500228dc5c5ae073dca0ead40;p=lilypond.git diff --git a/Documentation/snippets/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly b/Documentation/snippets/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly index fafa772f15..6b37d262db 100644 --- a/Documentation/snippets/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly +++ b/Documentation/snippets/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly @@ -1,25 +1,13 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% %% This file is in the public domain. -\version "2.13.39" +\version "2.18.0" \header { - lsrtags = "rhythms, contexts-and-engravers" - -%% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94 - texidoces = " -La propiedad @code{measureLength}, junto con -@code{measurePosition}, determina cuándo es necesario dibujar una -línea divisoria. Sin embargo, al utilizar -@code{\\scaleDurations}, el escalado proporcional de las -duraciones hace difícil introducir cambios de compás. En este -caso se debe establecer manualmente el valor de -@code{measureLength} utilizando la función @code{ly:make-moment}. -El segundo argumento debe ser el mismo que el segundo argumento de -@code{\\scaleDurations}. - -" - doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}" + lsrtags = "contemporary-notation, contexts-and-engravers, rhythms, workaround" texidoc = " The @code{measureLength} property, together with @@ -49,12 +37,12 @@ as the second argument of @code{\\scaleDurations}. << \new Staff { - \scaleDurations #'(8 . 5) { + \scaleDurations 8/5 { \time 6/8 - \set Timing.measureLength = #(ly:make-moment 6 5) + \set Timing.measureLength = #(ly:make-moment 6/5) b8 b b b b b \time 2/4 - \set Timing.measureLength = #(ly:make-moment 4 5) + \set Timing.measureLength = #(ly:make-moment 4/5) b4 b } }