]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/heavily-customized-polymetric-time-signatures.ly
New bar line interface
[lilypond.git] / Documentation / snippets / heavily-customized-polymetric-time-signatures.ly
index 9dcb29d2ff33dc1bc756391c247640613517ddce..fafe1cb9999e25db17a39534841c7e5fd8d6ce67 100644 (file)
@@ -1,10 +1,13 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.4"
+\version "2.17.5"
 
 \header {
-  lsrtags = "rhythms, percussion"
+  lsrtags = "contemporary-notation, percussion, real-music, rhythms"
 
   texidoc = "
 Though the polymetric time signature shown was not the most essential
@@ -15,28 +18,27 @@ 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)))))))
-
+                                 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))
+  \time #'(3 2 2 3 2 2 2 2 3 2 2) 25/8
   \override Staff.TimeSignature #'stencil =
     #(custom-time-signature "3" "2" "2" "3" "2" "2"
       "2" "2" "3" "2" "2" "8")
@@ -48,8 +50,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 ":|."
 }
 
 {