X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fcollisions.ly;h=cf202b2f6bff77f011d7985521ba01184210b5b6;hb=8d36de6e924066f07aa043bea971806c771b2786;hp=cc2692cf2994acee7f401420c1aad5abbd27b5a8;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/regression/collisions.ly b/input/regression/collisions.ly index cc2692cf29..cf202b2f6b 100644 --- a/input/regression/collisions.ly +++ b/input/regression/collisions.ly @@ -1,56 +1,52 @@ -#(ly:set-option 'old-relative) -\version "1.9.8" +\version "2.10.0" \header{ -texidoc=" -Normal collisions. We have support for polyphony, where the -middle voices are horizontally shifted. + texidoc=" +In addition to normal collision rules, there is support for polyphony, +where the collisions are avoided by shifting middle voices horizontally. " -filename = "collisions.ly" -enteredby = "HWN,JCN" -copyright = "public domain" } twovoice = -\notes \relative c' \context Staff \notes << - { g4 f f e e d d c } -\\ { c4 c d d e e f f } +\relative c' \context Staff << + { g4 f f e e d d c } + \\ { c4 c d d e e f f } >> -twovoicechords = \context Staff \notes << - \relative c' { - e4 d c b a g f - }\\ - \relative c' { - 4 4 4 4 - - } +twovoicechords = \context Staff << + \relative c' { + e4 d c b a g f + }\\ + \relative c' { + 4 4 4 4 + + } >> -threevoice = \context Staff \notes << - { g4 f e f g a g2 } \\ - { c4 d e d c d es } \\ - { e4 e e e e e e e } +threevoice = \context Staff << + { g4 f e f g a g2 } \\ + { c4 d e d c d es } \\ + { e4 e e e e e e e } >> -hairyChord = \context Staff \notes \relative c'' - << e \\ - fis, \\ - cis' \\ - \\ - ais - >> - - -\score{ - \notes { \transpose c c' { - \twovoice - \twovoicechords - \threevoice } - \hairyChord - } - -% \midi { \tempo 4:80 } -} +hairyChord = \context Staff \relative c'' +<< + e \\ + fis, \\ + cis' \\ + \\ + ais +>> + + + { + \transpose c c' { + \twovoice + \twovoicechords + \threevoice + } + \hairyChord + } +