]> git.donarmstrong.com Git - lilypond.git/blob - input/test/volta.ly
deleted input/test/lines.ly; duplicate of embedded-postscript.ly
[lilypond.git] / input / test / volta.ly
1 \version "1.7.18"
2 % DOCUMENT ME!
3 % I think this is an old example of alternate repeats,
4 % but that's covered in refman now.  candidate for delete.
5
6
7 voiceE =  \notes {
8 \clef bass
9  \property Staff.instrument = "Bass"
10  \property Staff.instr = "B"
11
12  \time 4/4  f,2 (    f,8-)    r8   f8    e8    
13 \repeat  volta 2
14 {
15  d8.    d16    e8.    f16    f8    c8    c16    c8. 
16 }
17 \alternative
18 {
19     {   f,2 (    f,8-)    r8   f8    e8 ( \break   }
20     {    f,2.-)    r8   c16    c16      |
21     }
22 }
23 }
24 voicedefault =  \notes {
25  
26  \time 4/4 \key f \major  
27  \tempo 4 = 200
28 }
29 \score{
30         \notes <
31
32
33         \context Staff="4"
34         {
35             \voicedefault
36             \voiceE 
37         }
38
39     >
40         \paper {
41             \translator {
42                  \StaffContext
43                  TimeSignature \override   #'style = #'C
44             }
45         }
46 }
47
48 %% new-chords-done %%