]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/heavily-customized-polymetric-time-signatures.ly
Change dsi to di in LSR address; update version
[lilypond.git] / Documentation / snippets / heavily-customized-polymetric-time-signatures.ly
index 9c6d0ae43f53dad89b55678d1fef5443a9df72b4..e71300b4a4b75175565891367c813cac80ffefa0 100644 (file)
@@ -1,9 +1,14 @@
-%% 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.13.1"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.17.15
+\version "2.18.0"
 
 \header {
-  lsrtags = "rhythms, percussion"
+  lsrtags = "contemporary-notation, percussion, real-music, rhythms"
 
   texidoc = "
 Though the polymetric time signature shown was not the most essential
@@ -14,31 +19,12 @@ is the template of a real Balkan song!).
   doctitle = "Heavily customized polymetric time signatures"
 } % begin verbatim
 
-#(define plus (markup #:vcenter "+"))
-#(define ((custom-time-signature one two three four five six
-           seven eight nine ten eleven num) grob)
-            (grob-interpret-markup grob
-              (markup #:override '(baseline-skip . 0) #:number
-                (#:line (
-                    (#:column (one num)) plus
-                    (#:column (two num)) plus
-                    (#:column (three num)) plus
-                    (#:column (four num)) plus
-                    (#:column (five num)) plus
-                    (#:column (six num)) plus
-                    (#:column (seven num)) plus
-                    (#:column (eight num)) plus
-                    (#:column (nine num)) plus
-                    (#:column (ten num)) plus
-                    (#:column (eleven num)))))))
 
 melody = \relative c'' {
   \set Staff.instrumentName = #"Bb Sop."
   \key g \major
-  #(set-time-signature 25 8 '(3 2 2 3 2 2 2 2 3 2 2))
-  \override Staff.TimeSignature #'stencil =
-    #(custom-time-signature "3" "2" "2" "3" "2" "2"
-      "2" "2" "3" "2" "2" "8")
+  \compoundMeter #'((3 8) (2 8) (2 8) (3 8) (2 8) (2 8)
+                    (2 8) (2 8) (3 8) (2 8) (2 8))
   c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
   c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
@@ -47,8 +33,8 @@ melody = \relative c'' {
 }
 
 drum = \new DrumStaff \drummode {
-  \bar "|:" bd4.^\markup { "Drums" } sn4 bd \bar ":" sn4.
-  bd4 sn \bar ":" bd sn bd4. sn4 bd \bar ":|"
+  \bar ".|:" bd4.^\markup { Drums } sn4 bd \bar ";" sn4.
+  bd4 sn \bar ";" bd sn bd4. sn4 bd \bar ":|."
 }
 
 {