]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/time.ly
* input/test/figured-bass-alternative.ly: fix accidental.
[lilypond.git] / input / test / time.ly
index d97e700df666cfbf2bb11d8cdef159cf2c7c7f87..39c4371f536035fd2b5ae14e064f587b0ea9d5cb 100644 (file)
+
+\version "2.1.7"
+% TODO: This file could be old.  Ask about it later.  -gp
+
+\header { texidoc =  "@cindex Time
+
+Old time signatures. For further information, consult the file. 
+    
+"
+}
+
+
+%{
+
+two examples what might be expected.  -- jr
+
+TODO: The former "old6/8alt" is currently not addressable.  This will
+be fixed by introducing an additional style property that switches
+between various mensural diminution styles.  -- jr
+
+TODO: Style "1xxx" really should be a special case of style
+"numbered".  In other words, style "1xxx" should be removed, and a new
+property "denominator-style" should be introduced, with values
+"numbered" (which should be equivalent to the current "numbered"
+style), "none" (which should be equivalent to the current "1xxx"
+style), and "notehead" (which should place a proper notehead to the
+right side of the nominator).  -- jr
+
+
+****************
+
+IMPORTANT NOTE: The current selection scheme for time signature
+symbols is not flexible enough for future extensions such as various
+flavours of early mensural notation or complex signatures as in
+contemporary music.  Therefore, the semantics of time-signature
+properties will quite definitely change, and maybe the syntax of the
+\time request will possibly be extended. See the input file for TODOs.
+
+****************
+
+%}
+
 \score { 
   \context Voice \notes\relative c {
-    \property Staff.textEmptyDimension = 1
-       \property Voice.textEmptyDimension = 1
-       \property Staff.timeSignatureStyle = "C"
-       \time 1/1;
-       c''1^"timeSignatureStyle = \"C\"" 
-       \time 2/2; 
-       c1 
-       \time 2/4; 
-       c2 
-       \time 3/4; 
-       c2. 
-       \time 4/4; 
-       c1 
-       \time 5/4; 
-       c2. c2 
-       \time 6/4; 
-       c1. 
-       \time 3/2; 
-       c1. 
-       \time 7/4; 
-       c1 c2. 
-       \time 8/4; 
-       c\breve
-       \time 9/4; 
-       c2. c2. c2. 
-       \break
-       \property Staff.timeSignatureStyle = "old"
-       \time 1/1; 
-       c1^"timeSignatureStyle = \"old\"" 
-       \time 2/2; 
-       c1 
-       \time 2/4; 
-       c2 
-       \time 3/4; 
-       c2. 
-       \time 4/4; 
-       c1 
-       \time 5/4; 
-       c2. c2 
-       \time 6/4; 
-       c1. 
-       \time 3/2; 
-       c1. 
-       \time 7/4; 
-       c1 c2. 
-       \time 8/4; 
-       c\breve 
-       \time 9/4; 
-       c2. c2. c2. 
-       \time 6/8; 
-       c2. 
-       \time 9/8; 
-       c4. c4. c4. 
-       \break
-       \property Staff.timeSignatureStyle = ""
-       \time 1/1; 
-       c1^"timeSignatureStyle = \"\"" 
-       \time 2/2; 
-       c1
-       \time 2/4; 
-       c2 
-       \time 3/4; 
-       c2.
-       \time 4/4; 
-       c1
-       \time 5/4; 
-       c2. c2
-       \time 6/4; 
-       c1.
-       \time 3/2; 
-       c1.
-       \time 7/4; 
-       c1 c2.
-       \time 8/4; 
-       c\breve 
-       \time 9/4; 
-       c2. c2. c2.
-       \break
-       \property Staff.timeSignatureStyle = "1"
-       \time 1/1; 
-       c1^"timeSignatureStyle = \"1\""
-       \time 2/2; 
-       c1
-       \time 2/4; 
-       c2 
-       \time 3/4; 
-       c2.
-       \time 4/4; 
-       c1
-       \time 5/4; 
-       c2. c2
-       \time 6/4; 
-       c1.
-       \time 3/2; 
-       c1.
-       \time 7/4; 
-       c1 c2.
-       \time 8/4; 
-       c\breve 
-       \time 9/4; 
-       c2. c2. c2. 
-       \break
-       \property Staff.textalignment = \center
-       \property Staff.timeSignatureStyle = "old9/8"
-       \time 1/1; 
-       c1^"old9/8" 
-       \property Staff.timeSignatureStyle = "old6/8" 
-       \time 1/1; 
-       c1^"old6/8" 
-       \property Staff.timeSignatureStyle = "old6/8alt" 
-       \time 1/1; 
-       c1^"old6/8alt" 
-       \property Staff.timeSignatureStyle = "old9/4"
-       \time 1/1; 
-       c1^"old9/4" 
-       \property Staff.timeSignatureStyle = "old6/4" 
-       \time 1/1; 
-       c1^"old6/4" 
-       \property Staff.timeSignatureStyle = "old3/2"
-       \time 1/1; 
-       c1^"old3/2" 
-       \property Staff.timeSignatureStyle = "old4/4"
-       \time 1/1; 
-       c1^"old4/4" 
-       \property Staff.timeSignatureStyle = "old2/2"
-       \time 1/1; 
-       c1^"old2/2"
-       \property Staff.timeSignatureStyle = "old2/4"
-       \time 1/1; 
-       c1^"old2/4" 
-       \property Staff.timeSignatureStyle = "old4/8"
-       \time 1/1; 
-       c1^"old4/8"
-       \property Staff.timeSignatureStyle = "C4/4"
-       \time 1/1; 
-       c1^"C4/4" 
-       \property Staff.timeSignatureStyle = "C2/2"
-       \time 1/1; 
-       c1^"C2/2" 
-       
+    % LilyPond doesn't understand 'default =>> it does what you want
+    \property Staff.TimeSignature \override #'style = #'default
+    \time 1/1
+    c''1^"TimeSignature style = \#'default" 
+    \time 2/2 
+    c1 
+    \time 2/4 
+    c2 
+    \time 4/8 
+    c2 
+    \time 3/4 
+    c2. 
+    \time 4/4 
+    c1 
+    \time 5/4 
+    c2. c2 
+    \time 6/4 
+    c1. 
+    \time 3/2 
+    c1. 
+    \time 7/4 
+    c1 c2. 
+    \time 8/4 
+    c\breve
+    \time 9/4 
+    c2. c2. c2. 
+    \break
+    \property Staff.TimeSignature \set #'style = #'mensural
+    \time 1/1 
+    c1^"TimeSignature style = \#'mensural" 
+    \time 2/2 
+    c1 
+    \time 2/4 
+    c2 
+    \time 4/8 
+    c2 
+    \time 3/4 
+    c2. 
+    \time 4/4 
+    c1 
+    \time 5/4 
+    c2. c2 
+    \time 6/4 
+    c1. 
+    \time 3/2 
+    c1. 
+    \time 7/4 
+    c1 c2. 
+    \time 8/4 
+    c\breve 
+    \time 9/4 
+    c2. c2. c2. 
+    \time 6/8 
+    c2. 
+    \time 9/8 
+    c4. c4. c4. 
+    \break
+    \property Staff.TimeSignature \set #'style = #'neo_mensural
+    \time 1/1 
+    c1^"TimeSignature style = \#'neo\_mensural" 
+    \time 2/2 
+    c1 
+    \time 2/4 
+    c2 
+    \time 4/8 
+    c2 
+    \time 3/4 
+    c2. 
+    \time 4/4 
+    c1 
+    \time 5/4 
+    c2. c2 
+    \time 6/4 
+    c1. 
+    \time 3/2 
+    c1. 
+    \time 7/4 
+    c1 c2. 
+    \time 8/4 
+    c\breve 
+    \time 9/4 
+    c2. c2. c2. 
+    \time 6/8 
+    c2. 
+    \time 9/8 
+    c4. c4. c4. 
+    \break
+    \property Staff.TimeSignature \set #'style = #'numbered
+    \time 1/1 
+    c1^"TimeSignature style = \#'numbered"
+    \time 2/2 
+    c1
+    \time 2/4 
+    c2 
+    \time 4/8 
+    c2 
+    \time 3/4 
+    c2.
+    \time 4/4 
+    c1
+    \time 5/4 
+    c2. c2
+    \time 6/4 
+    c1.
+    \time 3/2 
+    c1.
+    \time 7/4 
+    c1 c2.
+    \time 8/4 
+    c\breve 
+    \time 9/4 
+    c2. c2. c2.
+    \break
+    % If the style starts with a '1', you get this style
+    \property Staff.TimeSignature \set #'style = #'1style
+    \time 1/1 
+    c1^"TimeSignature style = \#'1xxx"
+    \time 2/2 
+    c1
+    \time 2/4 
+    c2 
+    \time 4/8 
+    c2 
+    \time 3/4 
+    c2.
+    \time 4/4 
+    c1
+    \time 5/4 
+    c2. c2
+    \time 6/4 
+    c1.
+    \time 3/2 
+    c1.
+    \time 7/4 
+    c1 c2.
+    \time 8/4 
+    c\breve 
+    \time 9/4 
+    c2. c2. c2. 
   }
   \paper { }  
   \midi { }
 }
+