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