]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
Fix make loop
[lilypond.git] / input / lsr / changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
index 0c5b6734b096d0431635834c6720b8035f9afe73..c778433e45bd6b4cd5ffe2027fd4eae83fb7fa1a 100644 (file)
@@ -1,44 +1,49 @@
-%% Do not edit this file; it is auto-generated from LSR!
-%% Tags: rhythms, contexts-and-engravers
-\version "2.11.35"
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
 
-\header { texidoc = "
-The measureLength variable, together with measurePosition, determines
-when a barline is needed. However, when using \\compressMusic, the
-scaling of durations makes it difficult to change time signatures
-without making a mess of it. 
+\header {
+  lsrtags = "rhythms, contexts-and-engravers"
 
-Therefore, measureLength has to be set manually, using the
-ly:make-moment callback. The second argument has to be the same as the
-second argument of \\compressMusic.
-" }
-% begin verbatim
+  texidoc = "
+The @code{measureLength} property, together with
+@code{measurePosition}, determines when a bar line is needed. However,
+when using @code{\\compressMusic}, the scaling of durations makes it
+difficult to change time signatures without making a mess of it.
+Therefore, @code{measureLength} has to be set manually, using the
+@code{ly:make-moment} callback. The second argument must be the same as
+the second argument of @code{\\compressMusic}. 
+
+"
+  doctitle = "Changing time signatures inside a polymetric section using \compressMusic"
+} % begin verbatim
 \layout {
- \context { \Score
+  \context {
+    \Score
     \remove "Timing_translator"
     \remove "Default_bar_line_engraver"
- }
- \context {
-   \Staff
-   \consists "Timing_translator"
-   \consists "Default_bar_line_engraver"
- }
 }
 \context {
+    \Staff
+    \consists "Timing_translator"
+    \consists "Default_bar_line_engraver"
 }
 }
 
 <<
- \new Staff {
-   \compressMusic #'( 8 . 5 ) {
-     \time 6/8
-     \set Timing.measureLength = #(ly:make-moment 3 5)
-     b8 b b b b b
-     \time 2/4
-     \set Timing.measureLength = #(ly:make-moment 2 5)
-     b4 b
-     }
-   }
- \new Staff {
-   \clef bass
-   \time 2/4
-   c2 d e f  }
- >>
-
 \new Staff {
+    \compressMusic #'(8 . 5) {
+      \time 6/8
+      \set Timing.measureLength = #(ly:make-moment 3 5)
+      b8 b b b b b
+      \time 2/4
+      \set Timing.measureLength = #(ly:make-moment 2 5)
+      b4 b
+    }
+  }
 \new Staff {
+    \clef bass
+    \time 2/4
+    c2 d e f
+  }
+>>