]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/collisions.ly
Split WWW target in two stages WWW-1 and WWW-2
[lilypond.git] / input / regression / collisions.ly
1 \version "2.10.0"
2 \header{
3   texidoc="
4 In addition to normal collision rules, there is support for polyphony, 
5 where the collisions are avoided by shifting middle voices horizontally.
6 "
7 }
8
9
10 twovoice =
11 \relative c' \context Staff  << 
12   {  g4 f f e e d d c } 
13   \\ {  c4 c  d d e e f f }
14 >>
15
16 twovoicechords = \context Staff  <<
17   \relative c' {
18     e4 d c b a g f
19   }\\
20   \relative c' {
21     <a c>4 <a c>4 <a c>4 <a c>4 <a c>
22     <a c> <a c>  
23   }
24 >>
25
26
27 threevoice = \context Staff  <<
28   { g4 f e f g a g2 } \\
29   {  c4 d e d c d es } \\
30   { e4 e e e e e e e  }
31 >>
32
33 hairyChord = \context Staff  \relative c''
34 <<
35   e \\
36   fis, \\
37   cis' \\
38   \\
39   ais
40 >>
41
42
43   {
44     \transpose c c' {
45       \twovoice
46       \twovoicechords
47       \threevoice
48     }
49     \hairyChord
50   }
51   
52