]> git.donarmstrong.com Git - lilypond.git/blob - input/kortjakje.ly
release: 0.1.65
[lilypond.git] / input / kortjakje.ly
1
2 \header{
3 filename =       "kortjakje.ly";
4 title =  "Ah,  vous dirais-je, maman (variations)";
5 description =    "bare bones version. (written down from memory :-)";
6 composer =       "Mozart, KV 265";
7 enteredby =      "HWN";
8 copyright =      "public domain";
9 }
10 %{
11 Tested Features: example file with comments
12
13 %}
14 \version "0.1.15";
15
16
17 % the % is a comment.
18
19
20 % declare melody (which will be in *one* staff ) for the lead voice
21 melodie = \melodic {
22                                 % switch Lilypond in note-mode
23         \clef"violin";
24         \meter 2/4 ;
25         \octave  c';            % set the default octave
26         % the default note duratino is 4
27         %%% theme
28         c4 c |                  % the '|' checks if there is a new measure here.
29         g g|
30         a a|
31
32         g2|     % g2 means a "g-1" pitched half-note 
33         f4 f|   e e|    d d|  c2
34         g4 g|   f f|    e e|    d d|    g g|    f f|    e e|    d d|
35         %%% var 1
36           c4 r8 c               % r8 means an 8th rest.
37                   (|            % start a slur
38                                 % NOTE: the slurstart should be directly after the note
39                         )       % end a slur.
40                           g4 r8 g8 ()    a4 r8 a8 ()     g4 r4 
41           f4 r8 f8 ()    e4 r8 e8 (|)  d4 r8 d8 ()       c4 r4 
42 }
43
44                                 % more of this.
45 begeleiding = \melodic{ 
46         \clef "bass";
47         \meter 2/4 ;
48         \octave  c';            % default octave: 1 below the first octave.
49
50         %%% theme
51         c,4                     % ' before note means one octave lower.
52                                 % Similarly: ' after means one higher.
53            c    e c     f c     e c     d b,    c a,    f, g,   c,2 |
54         \octave  c ;
55         e4 g,   d g,    c g,    b, g,   e g,    d g,    c g,    b, g,
56         %%%% var 1
57         r8 e8()  c4     r8 e8()  c4     r8 f8() c4      r8 e8() c4
58         r8 d8() b,4     r8 c8() a,4     r8 a,8() f,4    r8 e,8() c,4
59 }
60
61 \score{
62         \melodic \type Grand_staff <
63                 \melodie
64                 \begeleiding 
65         >
66         \paper{}
67         \midi{}
68 }
69