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