]> git.donarmstrong.com Git - lilypond.git/blob - input/test/volta-start.ly
22da2abbbe377318963a60844b62ba3d5167af99
[lilypond.git] / input / test / volta-start.ly
1
2 \header{
3
4 texidoc =  " Volta braces are hung on barlines. At the start of the
5 line, they should always start after the prefatory matter.  ";
6
7 }
8
9 \version "1.3.117";
10
11 voiceB =  \notes {
12     \clef bass;
13      \property Staff.instrument = "Bass"
14      \property Staff.instr = "B"
15      \key f \minor; 
16      \time 4/4;  
17     f,2 (   ) f,8    r8   f8    e8    
18     \repeat  volta 2
19     {
20          d8.    d16    e8.    f16    f8    c8    c16    c8.    \break
21     }
22     \alternative
23     {
24         {       
25             f,2 (   ) f,8    r8   f8    e8 
26             f,2 (   ) f,8    r8   f8    e8 
27             g1 \break   
28             f,2 (   ) f,8    r8   f8    e8 
29             f,2 (   ) f,8    r8   f8    e8 
30             g1 \break   
31         }
32         {   
33             f,2.    r8   c16    c16      | 
34         }
35     }
36 }
37 voiceC =  \notes {
38     \repeat volta 2
39     {
40      bes8    bes8    c'8    c'8    a4    r8   g16    f16      |
41      d'8.    c'16    c'8.    d'16    c'8    c'8    f16    g8.    |
42      \break
43     }
44     \alternative
45     {
46         {       a2 (   ) a8    r8   a8    bes8    }
47         {       a2.    r8   g16    f16      |
48         d'8.   c'16   c'8.   d'16   c'8   c'8   c'16    c'8.    |
49         }
50     }
51 }
52 voiceD =  \notes {
53     \repeat volta 2
54     {
55      bes8    bes8    c'8    c'8    a4    r8   g16    f16      |
56      d'8.    c'16    c'8.    d'16    c'8    c'8    f16    g8.    |
57      \break
58     }
59     \alternative
60     {
61         {       a2 \> a8    r8   a8  \!  bes8    
62         }
63         {       a2.    r8   g16    f16      |
64             d'8.   c'16   c'8.   d'16   c'8   c'8   c'16    c'8.    | \break
65             d'8.   c'16   c'8.   d'16   c'8   c'8   c'16    c'8.    |
66         }
67     }
68 }
69 voiceE =  \notes {
70     \repeat volta 2
71     {
72      bes8    bes8    c'8    c'8    a4    r8   g16    f16      |
73      d'8.    c'16    c'8.    d'16    c'8    c'8    f16    g8.    | \break
74     }
75     \alternative
76     {
77         {       
78             a2  a8    r8   a8    bes8    
79
80         }
81         {       
82             a2.    r8   g16    f16      |
83             d'8.   c'16   c'8.   d'16   c'8   c'8   c'16    c'8.    | 
84         }
85     }
86 }
87 \score{
88         \notes <
89
90
91         \context Staff="4"
92         {
93             \voiceB 
94             \voiceC
95             \break
96             \voiceD
97             \voiceE
98         }
99
100     >
101         \paper {
102             font_normal = 12.;
103             \translator {
104                  \StaffContext 
105                  \consists Instrument_name_engraver;
106             }
107         }
108 }