LSR: Update.
[lilypond.git] / input / lsr / changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly
blobf7b373207876e57859dc3a2ba1ceb1f97ce4b2dc
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
4 \version "2.13.1"
5 \header {
6 texidoces = "
7 La propiedad @code{measureLength}, junto con
8 @code{measurePosition}, determina cuándo es necesario dibujar una
9 línea divisoria. Sin embargo, al utilizar
10 @code{\\scaleDurations}, el escalado proporcional de las
11 duraciones hace difícil introducir cambios de compás. En este
12 caso se debe establecer manualmente el valor de
13 @code{measureLength} utilizando la función @code{ly:make-moment}.
14 El segundo argumento debe ser el mismo que el segundo argumento de
15 @code{\\scaleDurations}.
18 doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"
20 lsrtags = "rhythms,contexts-and-engravers"
21 texidoc = "The @code{measureLength} property, together with
22 @code{measurePosition}, determines when a bar line is needed. However,
23 when using @code{\\scaleDurations}, the scaling of durations makes it
24 difficult to change time signatures. In this case, @code{measureLength}
25 should be set manually, using the @code{ly:make-moment} callback. The
26 second argument must be the same as the second argument of
27 @code{\\scaleDurations}."
28 doctitle = "Changing time signatures inside a polymetric section using @code{\\scaleDurations}"
29 } % begin verbatim
32 \layout {
33 \context {
34 \Score
35 \remove "Timing_translator"
36 \remove "Default_bar_line_engraver"
38 \context {
39 \Staff
40 \consists "Timing_translator"
41 \consists "Default_bar_line_engraver"
46 \new Staff {
47 \scaleDurations #'(8 . 5) {
48 \time 6/8
49 \set Timing.measureLength = #(ly:make-moment 6 5)
50 b8 b b b b b
51 \time 2/4
52 \set Timing.measureLength = #(ly:make-moment 4 5)
53 b4 b
56 \new Staff {
57 \clef bass
58 \time 2/4
59 c2 d e f