]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/collisions.ly
Massive changes - see ChangeLog.
[lilypond.git] / input / regression / collisions.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.0"
3 \header{
4 texidoc="
5 Normal collisions. We have support for polyphony, where the
6 middle voices are horizontally shifted.
7 "
8 filename =       "collisions.ly"
9 enteredby =      "HWN,JCN"
10 copyright =      "public domain"
11 }
12
13
14 twovoice =
15 \notes \relative c' \context Staff \notes < 
16         \context Voice=i { \stemDown c4 c  d d e e f f }
17         \context Voice=ii { \stemUp g4 f f e e d d c } 
18 >
19
20 twovoicechords = \context Staff \notes <
21         \context Voice = i \relative c' {
22                 \stemUp e4 d c b a g f
23         }
24         \context Voice = ii \relative c' {
25                 \stemDown <<a c>>4 <<a c>>4 <<a c>>4 <<a c>>4 <<a c>>
26                 <<a c>> <<a c>>  
27         }
28 >
29
30
31 threevoice =  \context Staff \notes <
32          { g4 f e f g a g2 } \\
33          {  c4 d e d c d es } \\
34          { e4 e e e e e e e  }
35 >
36
37 hairyChord =  \context Staff \notes \relative c''
38     < e \\
39       fis, \\
40       cis' \\
41       \\
42       ais
43       >
44
45
46 \score{
47         \notes { \transpose c c' {
48            \twovoice
49            \twovoicechords
50            \threevoice   }
51          \hairyChord
52         }
53         
54 %       \midi { \tempo 4:80 }
55 }
56