]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/additional-voices-to-avoid-collisions.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / additional-voices-to-avoid-collisions.ly
index 749559f016cd014f5995ff8c3d09577ac680233f..e8d2f551871c724535b891c9aac005457f091dfe 100644 (file)
@@ -19,7 +19,6 @@ a variable using the Scheme function @code{context-spec-music}.
   doctitle = "Additional voices to avoid collisions"
 } % begin verbatim
 
-
 voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)
 
 \relative c'' {
@@ -27,32 +26,29 @@ voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)
   \key d \minor
   \partial 2
   <<
-    {
+    \new Voice  {
       \voiceOne
       a4. a8
       e'4 e4. e8
       f4 d4. c8
     }
-    \\
-    {
+    \new Voice {
+      \voiceTwo
+      d,2
+      d4 cis2
+      d4 bes2
+    }
+    \new Voice {
       \voiceThree
-      f,2
+      f'2
       bes4 a2
       a4 s2
     }
-    \\
-    {
+    \new Voice {
       \voiceFive
       s2
       g4 g2
       f4 f2
     }
-    \\
-    \bar "||"{
-      \voiceTwo
-      d2
-      d4 cis2
-      d4 bes2
-    }
   >>
 }