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