]> git.donarmstrong.com Git - lilypond.git/blob - input/kortjakje.ly
release: 0.0.68pre
[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.59";
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         c4 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         f4 f|   e e|    d d|  c2
33         g4 g|   f f|    e e|    d d|    g g|    f f|    e e|    d d|
34         %%% var 1
35           c4 r8 c               % r8 means an 8th rest.
36                   (|            % start a slur
37                                 % NOTE: the slurstart should be directly after the note
38                         )       % end a slur.
39                           g4 r8 g8 ()    a4 r8 a8 ()     g4 r4 
40           f4 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         'c4                     % ' 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         e4 'g   d 'g    c 'g    'b 'g   e 'g    d 'g    c 'g    'b 'g
55         %%%% var 1
56         r8 e8()  c4     r8 e8()  c4     r8 f8() c4      r8 e8() c4
57         r8 d8() 'b4     r8 c8() 'a4     r8 'a8() 'f4    r8 'e8() 'c4
58 }
59
60 \score{
61         \melodic < \multi 3;
62         
63          \melodie
64          \begeleiding 
65         >
66         \paper{
67                 \unitspace 2.5\cm       % a whole note takes 2.5 \cm ideally.
68         }
69 }
70