]> git.donarmstrong.com Git - lilypond.git/blob - input/test/stem.ly
update syntax in .ly files.
[lilypond.git] / input / test / stem.ly
1 \version "1.7.6"
2 \header{
3   title= "Stems and Beams"
4   subtitle =  "proofsheet" 
5   enteredby =    "jcn"
6   copyright =    "public domain"
7   TestedFeatures =       "This file tests the length of stems and placement 
8 of beams"
9   
10 }
11
12
13
14 beamintervals = \notes{
15   \time 7/4
16   \stemUp
17   \transpose c c'{
18     [ c8 d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
19     [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
20   }
21   \transpose c c''{
22     [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
23     \stemDown
24   }
25   \transpose c c'''{
26     [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
27   }
28   \transpose c c''{
29     [ c b, ] [ c a, ] [ c g, ] [ c f, ] [ c e, ] [ c d, ] [ c c, ] |
30     [ c d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
31   }
32 }
33
34 \score{
35   \notes{
36     \time 19/4
37
38     %% 3.50 (standard) - 0.24 (beam-thickness / 2) = 3.26 ...
39     %% yields beams almost as [Ross] wants them.
40     
41     %% Differences are only half a beam-thickness, probably giving
42     %% Lily's beams a slightly better slope
43     
44     \property Staff.Stem \set #'beamed-lengths = #'(3.26)
45
46     \relative c'{
47       \stemUp
48       g4 a b c d e f g a b c d e f g a b c d
49       \stemDown
50       d c b a g f e d c b a g f e d c b a g
51     }      
52     \beamintervals
53     \transpose c d \beamintervals
54     \transpose c e \beamintervals
55     \transpose c f \beamintervals
56     \transpose c g \beamintervals
57     \transpose c a \beamintervals
58     \transpose c b \beamintervals
59   }
60   \paper{
61     indent = 0.0\mm
62     }
63 }
64
65 %%% Local variables:
66 %%% LilyPond-indent-level:2
67 %%% End:
68 %% new-chords-done %%