lilypond-0.1.11
[lilypond.git] / input / collisions.ly
blob2a9505752b4b56ec4601028b320c4f7299f8a9ea
1 %{MudelaHeader
3 filename: collisions.ly
4 title:
5 description: random counterpoint to test collisions
6 composer(s):
7 entered-by: HWN,JCN
8 copyright: public domain
10 Tested Features:test the Collision resolution
11 EndMudelaHeader
13 \version "0.1.1";
17 two_voice = \melodic
18 < \multi 2;
19 { \octave c'; \stem \down;
20 c4 d e f g2~ g4 a [c8 d e f] c2| }
21 { \stem \up;
22 g4 f e g ~ g2 g2 c4 g4 g2 }
26 two_voice_steminvert = \melodic
27 < \multi 2;
28 { \octave c'; \stem \up;
29 % the f and g on 4th beat are exceptionally ugh.
30 c4 d e f g2 g4 a | }
31 { \stem \down;
32 g4 f e g g2 g2 }
36 three_voice = \melodic
37 < \multi 2;
38 { \stem \up;
39 g4 f e f g a g2 }
40 { \hshift 1; \stem \up;
41 e2 e2 e2 e2 }
42 { \stem \down;
43 c4 d e d c d es }
47 rests = \melodic
48 < \multi 2;
49 { \stem \up;
50 | r8 r r r r r r r
51 [c' b a g] [f e d c]
53 { \stem \down;
54 [c8 d e f] [g a b c']
55 r r r r r r r r
59 restsII = \melodic {
60 \octave c';
61 < \multi2;
62 { \stem \up; g' f' e' d' c' b a g f e d c }
63 { \stem \down; r r r r r r r r r r r r }
65 < \multi2;
66 { \stem \up; r r r r r r r r r r r r }
67 { \stem \down; c d e f g a b c' d' e' f' g' }
69 r8 r4
70 < \multi2; r8 r8 >
71 < \multi2; r8 r8 r8 >
72 < \multi2; r8 r8 r8 r8 >
73 < \multi2; r r >
74 < \multi2; r r r >
75 \stem \up;
76 [c''8 r8 c''8 c''8]
77 [c8 r8 c8 c8]
78 \stem \down;
79 [c8 r8 c8 c8]
80 [c''8 r8 c''8 c''8]
83 \score{
84 \melodic { \$two_voice \$two_voice_steminvert
85 \$three_voice \rests \restsII }
89 % \midi { \tempo 4:80 }