]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/collisions.ly
* buildscripts/mf-to-table.py (base): break table every three
[lilypond.git] / input / regression / collisions.ly
1 \version "1.7.18"
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 enteredby =      "HWN,JCN"
9 copyright =      "public domain"
10 }
11
12
13 twovoice =
14 \notes \relative c' \context Staff \notes < 
15         \context Voice=i { \stemDown c4 c  d d e e f f }
16         \context Voice=ii { \stemUp g4 f f e e d d c } 
17 >
18
19 twovoicechords = \context Staff \notes <
20         \context Voice = i \relative c' {
21                 \stemUp e4 d c b a g f
22         }
23         \context Voice = ii \relative c' {
24                 \stemDown <<a c>>4 <<a c>>4 <<a c>>4 <<a c>>4 <<a c>>
25                 <<a c>> <<a c>>  
26         }
27 >
28
29
30 threevoice =  \context Staff \notes <
31          { g4 f e f g a g2 } \\
32          {  c4 d e d c d es } \\
33          { e4 e e e e e e e  }
34 >
35
36 hairyChord =  \context Staff \notes \relative c''
37     < e \\
38       fis, \\
39       cis' \\
40       \\
41       ais
42       >
43
44
45 \score{
46         \notes { \transpose c c' {
47            \twovoice
48            \twovoicechords
49            \threevoice   }
50          \hairyChord
51         }
52         
53 %       \midi { \tempo 4:80 }
54 }
55