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