]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/collisions.ly
*** empty log message ***
[lilypond.git] / input / regression / collisions.ly
1 \version "1.7.5"
2 \header{
3 texidoc="
4 Normal collisions. We have support for polyphony, where the
5 middle voices are horizontally shifted.
6 "
7 filename =       "collisions.ly"
8 description =    "random counterpoint to test collisions"
9 enteredby =      "HWN,JCN"
10 copyright =      "public domain"
11 Tested =         "test the Collision resolution "
12 }
13
14
15 twovoice =
16 \notes \relative c' \context Staff \notes < 
17         \context Voice=i { \stemDown c4 c  d d e e f f }
18         \context Voice=ii { \stemUp g4 f f e e d d c } 
19 >
20
21 twovoicechords = \context Staff \notes <
22         \context Voice = i \relative c' {
23                 \stemUp e4 d c b a g f
24         }
25         \context Voice = ii \relative c' {
26                 \stemDown <<a c>>4 <<a c>>4 <<a c>>4 <<a c>>4 <<a c>>
27                 <<a c>> <<a c>>  
28         }
29 >
30
31
32 threevoice =  \context Staff \notes <
33         \context Voice=i { \stemUp g4 f e f g a g2 }
34         \context Voice=ii { \stemUp \shiftOn
35                 e4 e e e e e e e  }
36         \context Voice=iii { \stemDown c4 d e d c d es }
37 >
38
39 hairyChord =  \context Staff \notes\relative c' <
40      \context Voice=one {
41 \shiftOff
42         \stemUp 
43         e4 
44      }
45      
46      \context Voice=two {
47         \stemUp
48         \shiftOn
49  \property Voice.NoteColumn \override #'horizontal-shift = #1
50         cis
51      }
52      
53      \context Voice=three {     \shiftOnn
54         \stemUp 
55         ais
56      }
57      
58      \context Voice=four {
59         \stemDown
60         \shiftOn
61
62         fis
63      }
64 >
65
66
67 \score{
68         \notes \transpose c c' {
69            \twovoice
70            \twovoicechords
71         
72         \threevoice 
73          \hairyChord
74         }
75         
76 %       \midi { \tempo 4:80 }
77 }
78 %% new-chords-done %%