lilypond-1.5.14
[lilypond.git] / input / regression / collisions.ly
blob2f1467326d3e1de7b2c4c01f29e8a2e2fa465146
1 \version "1.3.146"
2 \header{
3 texidoc="
4 Normal collisions. We have support for polyphony, where the
5 middle voices are horizontally shifted.
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 "
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 }
21 twovoicechords = \context Staff \notes <
22 \context Voice = i \relative c' {
23 \stemUp e4 d c b a g f
25 \context Voice = ii \relative c' {
26 \stemDown <a4 c> <a4 c> <a4 c> <a4 c> <a c>
27 <a c> <a c>
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 }
39 hairyChord = \context Staff \notes\relative c' <
40 \context Voice=one {
41 \shiftOff
42 \stemUp
43 e4
46 \context Voice=two {
47 \stemUp
48 \shiftOn
49 \property Voice.NoteColumn \override #'horizontal-shift = #1
50 cis
53 \context Voice=three { \shiftOnn
54 \stemUp
55 ais
58 \context Voice=four {
59 \stemDown
60 \shiftOn
62 fis
67 \score{
68 \notes \transpose c'' {
69 \twovoice
70 \twovoicechords
72 \threevoice
73 \hairyChord
76 % \midi { \tempo 4:80 }