]> git.donarmstrong.com Git - lilypond.git/blob - input/kortjakje.ly
9bc116a99cf3f86a81f44e560829159c3973edd9
[lilypond.git] / input / kortjakje.ly
1 % "Ah,  vous dirais-je, maman" (Mozart, KV 265)
2
3 % \bare bones version. (written down from memory :-)
4 % for lyrics, see twinkle.ly
5
6 % the % is a co\mment.
7 %
8 % copyright: None
9 %
10 % declare melody (which will be in *one* staff ) for the lead voice
11
12 melodie = \melodic{
13                                 % switch Lilypond in note-mode
14         \clef\violin
15         \meter{ 2/4 }
16         \octave{ c }            % set the default octave
17         % the default note duratino is 4
18         %%% theme
19         c c |                   % the '|' checks if there is a new measure here.
20         g g|
21         a a|
22
23         g2|     % g2 means a "g-1" pitched half-note 
24         f f|    e e|    d d|  c2
25         g g|    f f|    e e|    d d|    g g|    f f|    e e|    d d|
26         %%% var 1
27           c r8 c8               % r8 means an 8th rest.
28                   (|            % \start a slur
29                                 % NOTE: the slur\start should be directly after the note
30                         )       % end a slur.
31                           g r8 g8 (|    ) a r8 a8 (|    ) g r4 
32           f r8 f8 (|    ) e4 r8 e8 (    |) d4 r8 d8 (|  ) c4 r4 
33 }
34
35                                 % more of this.
36 begeleiding = \melodic{
37         \clef "bass"
38         \meter{ 2/4 }
39         \octave{ c' }           % default octave: 1 below the first octave.
40
41         %%% theme
42         'c                      % ' means one octave lower.
43                                 % Similarly: ' means one higher.
44            c    e c     f c     e c     d 'b    c 'a    'f 'g   'c2
45         \octave { ' }
46         e 'g    d 'g    c 'g    'b 'g   e 'g    d 'g    c 'g    'b 'g
47         %%%% var 1
48         r8 e8() c       r8 e8() c       r8 f8()c        r8 e8()c
49         r8 d8()'b       r8 c8()'a       r8 'a8()'f      r8 'e8()'c
50 }
51
52 \score{
53         \staff{ melodie }
54         \staff{ begeleiding }
55         \paper{
56                 \unitspace 2.5\cm       % a whole note takes 2.5 \cm ideally.
57         }
58 }
59