X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fkortjakje.ly;h=c327f45d81fc51bcf071418390a60607a9aa47c7;hb=59ed0cee2aae58a3f0483f21261c68aee406fa10;hp=d1e704afe21d780a018398350d875541d5fa8f51;hpb=01ddcb81463d7a68530971100469d3e2baf8c94b;p=lilypond.git diff --git a/input/kortjakje.ly b/input/kortjakje.ly index d1e704afe2..c327f45d81 100644 --- a/input/kortjakje.ly +++ b/input/kortjakje.ly @@ -1,78 +1,64 @@ -% "Ah, vous dirais-je, maman" (Mozart, KV 265) -% -% \bare bones version. (written down from memory :-) -% for lyrics, see twinkle.ly +\header{ +filename = "kortjakje.ly"; +title = "Ah vous dirais-je maman (variations)"; +description = "bare bones version. (written down from memory :-)"; +composer = "Mozart KV 265"; +enteredby = "HWN"; +copyright = "public domain"; +} +%{ +Tested Features: example file with comments + +%} +\version "1.0.7"; + + +% the % is a comment. -% the % is a co\mment. -% -% copyright: None -% -% declare \music (which will be in *one* \staff ) for the lead \voice -melodie = \music { +% declare melody (which will be in *one* staff ) for the lead voice +melodie = \notes \relative c' { % switch Lilypond in note-mode - \clef\violin - \octave {} % set the default \octave - % the default note duratino is 4 + \clef"violin"; + \time 2/4 ; %%% theme - c c | % the '|' checks if there is a new measure here. - g g| + c4 c | % the | checks if there is a new measure here. + g' g| a a| g2| % g2 means a "g-1" pitched half-note - f f| e e| d d| c2 - g g| f f| e e| d d| g g| f f| e e| d d| + f4 f| e e| d d| c2 + g'4 g| f f| e e| d d| g g| f f| e e| d d| %%% var 1 - c r8 c8 % r8 means an 8th rest. - (| % \start a slur - % NOTE: the slur\start should be directly after the note + c4 r8 c % r8 means an 8th rest. + (| % start a slur + % NOTE: the slurstart should be directly after the note ) % end a slur. - g r8 g8 (| ) a r8 a8 (| ) g r4 - f r8 f8 (| ) e4 r8 e8 ( |) d4 r8 d8 (| ) c4 r4 + g'4 r8 g8 () a4 r8 a8 () g4 r4 + f4 r8 f8 () e4 r8 e8 (|) d4 r8 d8 () c4 r4 } % more of this. -begeleiding = -% \clef bass % bass-\clef -% \\music { % as you can see, the sign obliges - % you to precede \keyword by a backslash: \ - \music { - \clef "bass" - \octave { ` } % default \octave: 1 below the first \octave. +begeleiding = \notes \relative c { + \clef "bass"; + \time 2/4 ; %%% theme - `c % ` means one \octave lower. - % Similarly: ' means one higher. - c e c f c e c d `b c `a `f `g `c2 - \octave { ` } - e `g d `g c `g `b `g e `g d `g c `g `b `g + c4 % before note means one octave lower. + % Similarly: after means one higher. + c' e c f c e c d b c a f g c,2 | + e'4 g, d' g, c g b g e' g, d' g, c g b g %%%% var 1 - r8 e8() c r8 e8() c r8 f8()c r8 e8()c - r8 d8()`b r8 c8()`a r8 `a8()`f r8 `e8()`c + r8 e'8() c4 r8 e8() c4 r8 f8() c4 r8 e8() c4 + r8 d8() b4 r8 c8() a4 r8 a8() f4 r8 e8() c4 } - -% create a \staff named bstaf -bstaf = \staff { - \melodic - \music { begeleiding } % use the declared \music - \music { \meter {2/4 } } - } - -% another one -vstaf = \staff { - \melodic - \music { melodie } - % default \clef is violin \clef - \music { \meter {2/4 } } - } - - -\score { - \staff { vstaf } - \staff { bstaf } - \paper { - \unitspace 2.5\cm % a whole note takes 2.5 \cm ideally. - } +\score{ + \type GrandStaff < + \melodie + \begeleiding + > + \paper{} + \midi{} }