1 % "Ah, vous dirais-je, maman" (Mozart, KV 265)
3 % bare bones version. (written down from memory :-)
4 % for lyrics, see twinkle.ly
10 % declare melody (which will be in *one* staff ) for the lead voice
13 % switch Lilypond in note-mode
16 \octave c ; % set the default octave
17 % the default note duratino is 4
19 c c | % the '|' checks if there is a new measure here.
23 g2| % g2 means a "g-1" pitched half-note
25 g g| f f| e e| d d| g g| f f| e e| d d|
27 c r8 c8 % r8 means an 8th rest.
29 % NOTE: the slur\start should be directly after the note
31 g r8 g8 (| ) a r8 a8 (| ) g r4
32 f r8 f8 (| ) e4 r8 e8 ( |) d4 r8 d8 (| ) c4 r4
36 begeleiding = \melodic
39 \octave c ; % default octave: 1 below the first octave.
42 'c % ' before note means one octave lower.
43 % Similarly: ' after means one higher.
44 c e c f c e c d 'b c 'a 'f 'g 'c2
46 e 'g d 'g c 'g 'b 'g e 'g d 'g c 'g 'b 'g
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
53 \staff{ melodicregs melodie }
54 \staff{ melodicregs begeleiding }
56 \unitspace 2.5\cm % a whole note takes 2.5 \cm ideally.