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