]> git.donarmstrong.com Git - lilypond.git/blob - input/test/collisions.ly
e503cbf7a9e6cf9a364c2bfb4155232423269975
[lilypond.git] / input / test / collisions.ly
1 \header{
2 filename =       "collisions.ly";
3 description =    "random counterpoint to test collisions";
4 enteredby =      "HWN,JCN";
5 copyright =      "public domain";
6 Tested =         "test the Collision resolution ";
7 }
8 \version "1.0.3";
9
10
11
12 two_voice = \notes 
13         \type Staff < 
14           { \stemdown
15                 c4 d e f g2~  g4 a [c8 d e f] c2| }
16           { \stemup
17                 g4 f e g ~ g2 g2  c4 g4 g2 } 
18
19         >
20
21 two_voice_steminvert = \notes 
22         \type Staff <  
23           { 
24  \stemup
25 % the f and g on 4th beat are exceptionally ugh.
26                 c4 d e f g2 g4 a | }
27           { \stemdown
28                 g4 f e g  g2 g2 } 
29
30         >
31
32 three_voice = \notes 
33         \type Staff <
34         { \stemup 
35                 g4 f e f g a g2 }
36         { \stemup \property Voice.hshift = 1 
37                 e2  e2  e2  e2 }
38         { \stemdown
39                 c4 d e d c d es }
40         >
41
42
43 rests = \notes  
44         \type Staff <
45         { \stemup
46                 | r8 r r r  r r r r 
47                 [c' b a g] [f e d c]
48         } 
49         { \stemdown
50                 [c8 d e f] [g a b c']
51                 r r r r r r r r 
52         }
53         >
54
55 restsII = \notes {
56         \type Staff < 
57                 { \stemup  g' f' e' d' c' b a g f e d c }
58                 { \stemdown r  r  r  r  r  r r r r r r r }
59         >
60         \type Staff <
61                 { \stemup  r r r r r r r r  r  r  r  r }
62                 { \stemdown c d e f g a b c' d' e' f' g' }
63         >
64         r8 r4
65         \type Staff <  r8 r8 >
66         \type Staff <  r8 r8 r8 >
67         \type Staff <  r8 r8 r8 r8 >
68         \type Staff <  r r >
69         \type Staff <  r r r >
70         \stemup
71         [c''8 r8 c''8 c''8]
72         [c8 r8 c8 c8]
73         \stemdown
74         [c8 r8 c8 c8]
75         [c''8 r8 c''8 c''8]
76 }
77
78 \score{
79         \notes \transpose c' {  \two_voice  
80         \two_voice_steminvert 
81         \three_voice  
82         \rests 
83         % UGH ! bug!
84         %\restsII 
85         }
86         
87
88         
89 %       \midi { \tempo 4:80 }
90 }