]> git.donarmstrong.com Git - lilypond.git/blob - input/ascii-art/twinkle-as5.ly
ecfbeee0b8754f99f1d6041c1ec3d554755681ae
[lilypond.git] / input / ascii-art / twinkle-as5.ly
1 % ASCII Art output
2 %
3 % Process as:
4 %
5 %     lilypond -fas foo.ly
6 %     as2text foo.as
7
8
9 \header{
10 filename =      "twinkle.ly";
11 title =                 "Twinkle Twinkle Little Star";
12 composer =      "Traditional";
13 enteredby =     "hwn and jcn";
14 copyright =     "public domain";
15 }
16
17
18
19 \include "paper-as5.ly"
20
21 melody =  \notes \relative c'' {
22         \time 2/4;
23         c4 c | g' g | a a | g g |
24 %{
25         f f | e e | d d8.( e16 | )c2 |
26
27         g'4 g | f f | e e | d d |
28         g g | f f | e( e8. f16 | e4 )d |
29
30         c c | g' g | a a | g g |
31         f f | e e | d d8.( e16 | )c2 |
32 %}
33 }
34
35 accompany =  \notes \relative c {
36         \clef "bass";
37         \time 2/4;
38         c4 c' | e c | f c | e c | 
39 %{
40         d b | c a | f g | c,2 | 
41
42         e'4 g, | d' g, | c g | b g | 
43         e' g, | d' g, | c c8.( d16 | c4 )b |
44
45         c, c' | e c | f c | e c | 
46         d b | c a | f g | c,2 
47 %}
48 }
49
50
51 text =  \lyrics{
52         Twin -- kle, twin -- kle, lit -- tle star, " "
53 %{
54         How I won -- der what you  " " are.
55         Up a -- bove the world so high, " "
56         Like a dia -- mond in the  " " sky. " "
57         Twin -- kle, twin -- kle, lit -- tle star, " "
58         How I won -- der what you  " " are!
59 %}
60 }
61
62 \score{
63         \context GrandStaff <
64                 \addlyrics
65                         \context Staff=upper \melody
66                 \context Lyrics=between \text
67                 \context Staff=lower \accompany 
68         >
69         \paper{
70                 \translator { \GrandStaffContext \accepts "Lyrics"; }
71                 indent=4.0\char;
72                 linewidth=78.0\char;
73         }
74 }
75