]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multiple-time-sig-settings.ly
Doc-fr: Learning
[lilypond.git] / input / regression / multiple-time-sig-settings.ly
index 3c6565ab797a2c7bcec7efe93d21468f0f4b1367..883124d4a632b8ee867332101539951a904977ea 100644 (file)
@@ -1,31 +1,34 @@
-\version "2.13.33"
+\version "2.16.0"
 
 \header {
   texidoc = "
 Multiple overrides to the default time signature settings can be
-added.  In this example, all notes should be beamed at 1/4.
+added.  In this example, notes should be beamed as indicated
+by the markups.
 "
 }
 
-\relative c' {
-  \overrideTimeSignatureSettings
-      #'Score
+\new Staff{
+  \relative c' {
+    \overrideTimeSignatureSettings
       #'(4 . 4)  % time signature fraction
       #'(1 . 4)  % base moment fraction
       #'(1 1 1 1)    % beatStructure
       #'()       % beamExceptions
-  \overrideTimeSignatureSettings
-      #'Score
+    \overrideTimeSignatureSettings
       #'(3 . 4)  % time signature fraction
       #'(1 . 4)  % base moment fraction
       #'(1 1 1)    % beatStructure
       #'()       % beamExceptions
-  \time 4/4
-  c8 c c c c c c c |
-  \time 3/4
-  c8 c c c c c |
-  \time 4/4
-  c8 c c c c c c c |
-  \time 3/4
-  c8 c c c c c |
+    \time 4/4
+    c8^\markup {"Beam by 1/4"} c c c c c c c |
+    \time 3/4
+    c8^\markup {"Beam by 1/4"} c c c c c |
+    \revertTimeSignatureSettings #'(4 . 4)
+    \revertTimeSignatureSettings #'(3 . 4)
+    \time 4/4
+    c8^\markup {"Beam by 1/2"} c c c c c c c |
+    \time 3/4
+    c8^\markup {"Beam by 3/4"} c c c c c |
+  }
 }