lilypond-0.1.14
[lilypond.git] / input / collisions.ly
blob15f5b3969e7618a6273260369e2f94ff6b53a4d7
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.6";
17 two_voice = \melodic
18 \multi 2 <
19 { \stemdown \octave c';
20 c4 d e f g2~ g4 a [c8 d e f] c2| }
21 { \stemup
22 g4 f e g ~ g2 g2 c4 g4 g2 }
26 two_voice_steminvert = \melodic
27 \multi 2 <
29 \octave c'; \stemup
30 % the f and g on 4th beat are exceptionally ugh.
31 c4 d e f g2 g4 a | }
32 { \stemdown
33 g4 f e g g2 g2 }
37 three_voice = \melodic
38 \multi 2 <
39 { \stemup
40 g4 f e f g a g2 }
41 { \stemup \property Voice.hshift = 1
42 e2 e2 e2 e2 }
43 { \stemdown
44 c4 d e d c d es }
48 rests = \melodic
49 \multi 2 <
50 { \stemup
51 | r8 r r r r r r r
52 [c' b a g] [f e d c]
54 { \stemdown
55 [c8 d e f] [g a b c']
56 r r r r r r r r
60 restsII = \melodic {
61 \octave c';
62 \multi 2 <
63 { \stemup g' f' e' d' c' b a g f e d c }
64 { \stemdown r r r r r r r r r r r r }
66 \multi 2 <
67 { \stemup r r r r r r r r r r r r }
68 { \stemdown c d e f g a b c' d' e' f' g' }
70 r8 r4
71 \multi 2 < r8 r8 >
72 \multi 2 < r8 r8 r8 >
73 \multi 2 < r8 r8 r8 r8 >
74 \multi 2 < r r >
75 \multi 2 < r r r >
76 \stemup
77 [c''8 r8 c''8 c''8]
78 [c8 r8 c8 c8]
79 \stemdown
80 [c8 r8 c8 c8]
81 [c''8 r8 c''8 c''8]
84 \score{
85 { \two_voice \two_voice_steminvert
86 \three_voice \rests \restsII }
90 % \midi { \tempo 4:80 }