]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/additional-voices-to-avoid-collisions.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / lsr / additional-voices-to-avoid-collisions.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.48"
4
5 \header {
6   lsrtags = "simultaneous-notes"
7
8   texidoc = "
9 In some instances of complex polyphonic music, additional voices are
10 necessary to avoid collisions between notes.  Additional voices are
11 added by defining a variable using the Scheme function
12 @code{context-spec-music}.
13
14 "
15   doctitle = "Additional voices to avoid collisions"
16 } % begin verbatim
17 voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)
18 \relative c'' {
19   \time 3/4 \key d \minor \partial 2
20   <<
21     { \voiceOne
22       a4. a8
23       e'4 e4. e8
24       f4 d4. c8
25     } \\ {
26       \voiceThree
27       f,2
28       bes4 a2
29       a4 s2
30     } \\ {
31       \voiceFive
32       s2
33       g4 g2
34       f4 f2
35     } \\ {
36       \voiceTwo
37       d2
38       d4 cis2
39       d4 bes2
40     }
41   >>
42 }