MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / collisions.ly
blobe3e68163251dbfb390614e079c7ce1b4f8083a04
1 \version "2.12.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.
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 }
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>
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 }
33 hairyChord = \context Staff \relative c''
35 e \\
36 fis, \\
37 cis' \\
39 ais
44 \transpose c c' {
45 \twovoice
46 \twovoicechords
47 \threevoice
49 \hairyChord