]> git.donarmstrong.com Git - lilypond.git/blob - input/test/ac-extra-voice.ly
release: 1.3.142
[lilypond.git] / input / test / ac-extra-voice.ly
1 %
2 % TODO: what's this?
3 %
4
5
6 global =  \notes {
7         \key a \minor;
8         \time 6/4;
9 %       \skip 1.*34;
10 %       \bar ".|";
11 }
12
13 melody =  \notes\relative c''{
14         r2 r r 
15         r2 r r
16         r4 a'8-- \< a-- a-- a-- c-- \!b-- a--\> gis f \!e 
17         es8 \grace b c r4 r2 r
18 }
19
20 basloopje =  \notes\relative c{
21         d,8(    a' d f a d f d a f d    )a
22 }
23
24 accompany =  \notes \relative c{
25         \notes\relative c \basloopje
26         \notes\relative c \basloopje
27         \notes\relative c \basloopje
28         \notes\relative c \basloopje
29 }
30
31 \score{
32         \notes \context PianoStaff <
33                 \context Staff=up < 
34                         \global
35                         \context Voice=foo {
36                         \stemUp\slurUp\tieUp
37                         \scriptUp
38                         \melody 
39                         }
40                 >
41                 \context Staff=down <
42                         \global
43                         \clef bass;
44                         \autochange Staff \context Voice \accompany
45                 >
46         >
47
48         \paper {
49                 indent = 8.\mm;
50                 textheight = 295.\mm;
51
52                 \translator{ 
53                         \PianoStaffContext
54                         defaultBarType = #"" 
55                 }
56                 \translator{ 
57                         \StaffContext
58                         % don't auto-generate bars: not a good idea: -> no breakpoints
59                         % barAuto = "0";
60                         % urg defaultBarType = #""
61                         defaultBarType = #"" 
62                         \remove "Time_signature_engraver";
63
64                         Slur \override #'direction = #1
65
66                         
67                         autoBeamSettings \override #'(end * * * *)  = #(make-moment 1 2)
68                 }
69         }
70         \midi {
71                 \tempo 4 = 54;
72         }
73 }
74