]> git.donarmstrong.com Git - lilypond.git/blob - input/test/time.ly
update syntax in .ly files.
[lilypond.git] / input / test / time.ly
1 \version "1.7.6"
2 \header
3 {
4     texidoc =  "
5 IMPORTANT NOTE: The current selection scheme for time signature
6 symbols is not flexible enough for future extensions such as various
7 flavours of early mensural notation or complex signatures as in
8 contemporary music.  Therefore, the semantics of time-signature
9 properties will quite definitely change, and maybe the syntax of the
10 \time request will possibly be extended. See the input file for TODOs.
11     
12 "
13 }
14
15
16 %{
17
18 two examples what might be expected.  -- jr
19
20 TODO: The former "old6/8alt" is currently not addressable.  This will
21 be fixed by introducing an additional style property that switches
22 between various mensural diminution styles.  -- jr
23
24 TODO: Style "1xxx" really should be a special case of style
25 "numbered".  In other words, style "1xxx" should be removed, and a new
26 property "denominator-style" should be introduced, with values
27 "numbered" (which should be equivalent to the current "numbered"
28 style), "none" (which should be equivalent to the current "1xxx"
29 style), and "notehead" (which should place a proper notehead to the
30 right side of the nominator).  -- jr
31
32
33 %}
34
35 \score { 
36   \context Voice \notes\relative c {
37     % Lilypond doesn't understand 'default => it does what you want
38     \property Staff.TimeSignature \override #'style = #'default
39     \time 1/1
40     c''1^"TimeSignature style = \#'default" 
41     \time 2/2 
42     c1 
43     \time 2/4 
44     c2 
45     \time 4/8 
46     c2 
47     \time 3/4 
48     c2. 
49     \time 4/4 
50     c1 
51     \time 5/4 
52     c2. c2 
53     \time 6/4 
54     c1. 
55     \time 3/2 
56     c1. 
57     \time 7/4 
58     c1 c2. 
59     \time 8/4 
60     c\breve
61     \time 9/4 
62     c2. c2. c2. 
63     \break
64     \property Staff.TimeSignature \set #'style = #'mensural
65     \time 1/1 
66     c1^"TimeSignature style = \#'mensural" 
67     \time 2/2 
68     c1 
69     \time 2/4 
70     c2 
71     \time 4/8 
72     c2 
73     \time 3/4 
74     c2. 
75     \time 4/4 
76     c1 
77     \time 5/4 
78     c2. c2 
79     \time 6/4 
80     c1. 
81     \time 3/2 
82     c1. 
83     \time 7/4 
84     c1 c2. 
85     \time 8/4 
86     c\breve 
87     \time 9/4 
88     c2. c2. c2. 
89     \time 6/8 
90     c2. 
91     \time 9/8 
92     c4. c4. c4. 
93     \break
94     \property Staff.TimeSignature \set #'style = #'neo_mensural
95     \time 1/1 
96     c1^"TimeSignature style = \#'neo\_mensural" 
97     \time 2/2 
98     c1 
99     \time 2/4 
100     c2 
101     \time 4/8 
102     c2 
103     \time 3/4 
104     c2. 
105     \time 4/4 
106     c1 
107     \time 5/4 
108     c2. c2 
109     \time 6/4 
110     c1. 
111     \time 3/2 
112     c1. 
113     \time 7/4 
114     c1 c2. 
115     \time 8/4 
116     c\breve 
117     \time 9/4 
118     c2. c2. c2. 
119     \time 6/8 
120     c2. 
121     \time 9/8 
122     c4. c4. c4. 
123     \break
124     \property Staff.TimeSignature \set #'style = #'numbered
125     \time 1/1 
126     c1^"TimeSignature style = \#'numbered"
127     \time 2/2 
128     c1
129     \time 2/4 
130     c2 
131     \time 4/8 
132     c2 
133     \time 3/4 
134     c2.
135     \time 4/4 
136     c1
137     \time 5/4 
138     c2. c2
139     \time 6/4 
140     c1.
141     \time 3/2 
142     c1.
143     \time 7/4 
144     c1 c2.
145     \time 8/4 
146     c\breve 
147     \time 9/4 
148     c2. c2. c2.
149     \break
150     % If the style starts with a '1', you get this style
151     \property Staff.TimeSignature \set #'style = #'1style
152     \time 1/1 
153     c1^"TimeSignature style = \#'1xxx"
154     \time 2/2 
155     c1
156     \time 2/4 
157     c2 
158     \time 4/8 
159     c2 
160     \time 3/4 
161     c2.
162     \time 4/4 
163     c1
164     \time 5/4 
165     c2. c2
166     \time 6/4 
167     c1.
168     \time 3/2 
169     c1.
170     \time 7/4 
171     c1 c2.
172     \time 8/4 
173     c\breve 
174     \time 9/4 
175     c2. c2. c2. 
176   }
177   \paper { }  
178   \midi { }
179 }
180 %% new-chords-done %%