]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly
22d625bf0b8ce4152be7764c057e033f8f9875a1
[lilypond.git] / input / lsr / changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly
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 %% Translation of GIT committish: f39a9724d9f51ed9d0d464689ef62f549d7b8dd6
7   texidoces = "
8 La propiedad @code{measureLength}, junto con
9 @code{measurePosition}, determina cuándo es necesario dibujar una
10 línea divisoria.  Sin embargo, al utilizar
11 @code{\\scaleDurations}, el escalado proporcional de las
12 duraciones hace difícil introducir cambios de compás.  En este
13 caso se debe establecer manualmente el valor de
14 @code{measureLength} utilizando la función @code{ly:make-moment}.
15 El segundo argumento debe ser el mismo que el segundo argumento de
16 @code{\\scaleDurations}.
17
18 "
19   doctitlees = "Modificar el compás dentro de una sección polimétrica utilizando @code{\\scaleDurations}"
20
21   lsrtags = "rhythms,contexts-and-engravers"
22   texidoc = "The @code{measureLength} property, together with
23 @code{measurePosition}, determines when a bar line is needed.  However,
24 when using @code{\\scaleDurations}, the scaling of durations makes it
25 difficult to change time signatures.  In this case, @code{measureLength}
26 should be set manually, using the @code{ly:make-moment} callback.  The
27 second argument must be the same as the second argument of
28 @code{\\scaleDurations}."
29   doctitle = "Changing time signatures inside a polymetric section using @code{\\scaleDurations}"
30 } % begin verbatim
31
32
33 \layout {
34   \context {
35     \Score
36     \remove "Timing_translator"
37     \remove "Default_bar_line_engraver"
38   }
39   \context {
40     \Staff
41     \consists "Timing_translator"
42     \consists "Default_bar_line_engraver"
43   }
44 }
45
46 <<
47   \new Staff {
48     \scaleDurations #'(8 . 5) {
49       \time 6/8
50       \set Timing.measureLength = #(ly:make-moment 6 5)
51       b8 b b b b b
52       \time 2/4
53       \set Timing.measureLength = #(ly:make-moment 4 5)
54       b4 b
55     }
56   }
57   \new Staff {
58     \clef bass
59     \time 2/4
60     c2 d e f
61   }
62 >>