From 06682b52a0ff5440626c3099a02e67e152b8ac3d Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:57:01 +0000 Subject: [PATCH] lilypond-0.1.11 --- Documentation/AUTHORS.pod | 11 +- Documentation/mudela-course.doc | 12 +- input/standchen-16.tex | 2 +- input/standchen-20.tex | 2 +- input/standchen.ly | 512 ++++++++++++++++++++++++++++++++ 5 files changed, 530 insertions(+), 9 deletions(-) create mode 100644 input/standchen.ly diff --git a/Documentation/AUTHORS.pod b/Documentation/AUTHORS.pod index f6366d5e00..2d40fefc7f 100644 --- a/Documentation/AUTHORS.pod +++ b/Documentation/AUTHORS.pod @@ -22,8 +22,8 @@ Jan Nieuwenhuizen , http://www.digicash.com/~jan lily/midi-*, mi2mu/*, parts flower/string*.cc, make/*.make, */Makefile parts of Documentation/mudela.pod, lib/*source-file*, lib/duration.cc, -lib/source, flower/*{list,cursor}*, lily/rest-collision*, conflily, -cygnus w32 stuff, lily/*perf* +lib/source*, flower/*{list,cursor}*, lily/rest-collision*, conflily, +cygnus w32 stuff, lily/*perf*, some input files and corresponding header files. @@ -51,8 +51,15 @@ Alexandre Oliva , testing Anthony Fok , debian package: make/debian/* +=item * + +Franc,ois Pinard , Neil Jerram +. Documentation/Vocab* + =back Your name could be here! If you want to help, then take a look at the SMALLISH PROJECTS section of in the file F. Some do not involve coding C++ + +[And of course, J.S.Bach, F.Schubert, T. Merula and W.A.Mozart] diff --git a/Documentation/mudela-course.doc b/Documentation/mudela-course.doc index 369cfc745c..da2be2526b 100644 --- a/Documentation/mudela-course.doc +++ b/Documentation/mudela-course.doc @@ -19,8 +19,9 @@ \section{Overview} + Mudela is a language for specifying music. LilyPond is a -program which converts such a specification into formatted sheet +program which converts such a specification into formatted sheet music, or MIDI output. Please note that some examples not only demonstrate features but also @@ -100,12 +101,13 @@ etc. \end{mudela} -LilyPond is designed to handle complicated stuff -automatically. Expertise should be in the program, not in the user. +LilyPond is designed to handle complicated stuff automatically. +Expertise should be in the program, not in the user. -The following example shows how multiple voice on the same staff are +The following example shows how multiple voices on the same staff are handled graciously (well, somewhat). If the noteheads of different -voices collide, they are moved horizontally. The same goes for the rests. +voices collide, they are moved horizontally. Rests are moved +vertically. \begin[verbatim]{mudela} two_voice = \melodic diff --git a/input/standchen-16.tex b/input/standchen-16.tex index 2818ebc4ac..ae3ccc33ba 100644 --- a/input/standchen-16.tex +++ b/input/standchen-16.tex @@ -16,6 +16,6 @@ \instrument{M\"a\ss ig} % heu %#%\tempo{M\"a\ss ig} \maketit -\input standchen.out +\input{standchen-16.out} %\input lelie.tex \end{document} diff --git a/input/standchen-20.tex b/input/standchen-20.tex index 2818ebc4ac..9870b620ea 100644 --- a/input/standchen-20.tex +++ b/input/standchen-20.tex @@ -16,6 +16,6 @@ \instrument{M\"a\ss ig} % heu %#%\tempo{M\"a\ss ig} \maketit -\input standchen.out +\input{standchen-20.out} %\input lelie.tex \end{document} diff --git a/input/standchen.ly b/input/standchen.ly new file mode 100644 index 0000000000..23bac1d862 --- /dev/null +++ b/input/standchen.ly @@ -0,0 +1,512 @@ +\header{ +filename standchen.ly +title St\"andchen (Serenade) "Leise flehen meine Lieder" +opus D. 957 No. 4 +composers Franz Schubert (1797-1828) + Text by Ludwig Rellstab (1799-1860) +enteredby JCN +copyright public domain +} + +%{ + Tested Features: multivoice, accents, lyrics, chords, piano music, +multiple \paper{}s in one \score +%} + +\version "0.1.1"; + +commands = \melodic{ + \skip 2.*4; + \bar "|:"; + \skip 2.*24; +% volta1 + \skip 2.*8; +% volta2 + \bar ":|"; + \skip 2.*22; + \bar "|."; + } + +melodie = \melodic{ + \meter 3/4; + \clef "violin"; + \key bes; + \octave c'; + \duration 8; + r \pp < [ d 'a-| > f-| < d 'a-| > f-| < d 'a-| ] > | +%%2 + r < [ d 'bes-| > f-| < d 'bes-| > f-| < d 'bes-| ] > | +%%3 + \textstyle "italic"; + r_"simile" < [ d 'bes > e < d 'bes > e < d 'bes ] >| + \textstyle "roman"; + +%%4 + r < [ 'a cis > e < 'a cis > e < 'a cis ] > | +%%5 + [2/3 a~ bes a ]1/1 d'4. a | +%%6 + [2/3 g~ a g ]1/1 d'4 g r | + +%%7 + a4.^> g [2/3 g~ f e ]1/1 | +%%8 + f2 r4 | +%%9 + + < { a'4.~ g' [2/3 g'( f' )e' ]1/1 } + { cis'4. e'_"dolce" \plet 2/3; e' \plet 1/1; } > | +%%10 + < f'2. d'2. > | +%%11 + [2/3 a ~ bes a ]1/1 f'4. a | +%%12 + [2/3 g~ a g ]1/1 e'4. d' | +%%13 + c'4. bes [2/3 bes~ a g ]1/1 | +%%14 + a2 r + < { d'~ c'4. g [2/3 bes a g ]1/1 } + { f \p ~ e4._"dolce" bes + \plet 2/3; g + \plet 1/1; + } > | +%%16 + < a2. f2. > | +%%17 + \textstyle "italic"; + [ a8._"cresc." cis'16 ] f'4. e' + \textstyle "roman";| +%%18 + [ d'8. a16 ] f4. d | +%%19 +%#% c'\grace\stemup + [2/3 bes ~ a bes ]1/1 d'4. bes | +%%20 + a2. | +%%21 +%#% a\grace + [2/3 g~ fis g ]1/1 bes4.^> g | +%%22 + f!2. | +%%23 + [ a8. \mf cis'16 ] f'4. e' | +%%24 + [ d'8. a16 ] fis4. d | +%%25 + [2/3 b \mf~ ais b ]1/1 d'4. b | +%%26 + < a2. fis2. > | +%%27 + [2/3 e' \f~ dis' e' ]1/1 g'4. cis' | +%%28 + < d'2. fis2. > | +%#%\volta1 +%%29 + < { bes2( [ d'8.~ )bes16 ] } + { g2 \mf [ bes8. g16 ] } > | +%%30 + < { a4. [ a-. a-. a-. ] } + { fis4. [ fis-.( fis-. )fis-. ] } > | +%%31 + < { a4. [ a-. a-. a-. ] } + { g4. [ cis-.( e-. )g-. ] } > | +%%32 + < a2 fis2 \pp > < a4 fis4 > | +%%33 + < { b2( [ d'8.~ )b16 ] } + { g2 [ b8. g16 ] } > | +%%34 + < { a4. [ a-. a-. a-. ] } + { fis4. [ fis-.( fis-. )fis-. ] } > | +%%35 + < { a4. [ a-. a-. a-. ] } + { g4. [ cis-.( e-. )g-. ] } > | +%%36 + < a2. fis2. > | +%#%\volta2 +%%37 + [ a8. a16 ] [ cis'8. cis'16 ] [ e'8. e'16 ] | +%%38 + d'4~ cis'4 r4 | +%%39 +%#% > a4. [ cis' e'8. >! d'16 ] | + a4. \> [ cis' e'8. \! d'16 ] | +%%40 + cis'2 r4 | +%%41 + < fis'4. \> cis'4. \f > e' [2/3 e'~ d' \! cis' ]1/1 | +%%42 + [ b8. cis'16 ] d'4^> b r | +%%43 + + [ b8. \f cis'16 ] d'4^> b r | +%%44 + [ b8. \> cis'16 ] d'4^> b \! r | +%%45 + [2/3 b \p ~ ais b ]1/1 d'4. b | +%%46 + | +%%47 + [2/3 e' \f~ dis' e' ]1/1 g'4.^> cis' | +%%48 + \textstyle "italic"; + < + { fis2.~ + %\group "+1"; + \stem \down; f2. } + { d'2. ~ \stem \up; + d'4 r4_"decresc." d'4 } + > + \textstyle "roman"; | +%%50 + < bes2. e2. > | +%%51 + < a2. cis2. > | +%%52 + < fis2 d2 > < a4 fis4 \pp > | +%%53 + + < bes2 g2 > < [ d'8.^> bes8. > < bes16 g16 ] > | +%%54 + < { a4. [ a-. a-. a-. ] } + { fis4. [ fis-.( fis-. )fis-.] } > | +%%55 + < { a4. [ a-. a-. a-. ] } + { g4. [ cis-.( e-. )g-. ] } > | +%%56 + \textstyle "italic"; + < a2. fis2._"dim." > + \textstyle "roman"; | +%%57 + < a2. fis2. > | +%%58 + < a2.^\fermata fis2. > | +%#%\tighten +} + +begeleiding = \melodic{ + \meter 3/4; + \clef"bass"; + \key bes; + \octave c'; + \duration 2; + 'd r4 | +%%2 + ''bes r4 | + +%%3 + ''g r4 | + +%%4 + ''a r4 | +%%5 +\duration 8; + < \multi 2; { \stem \up; + [ 'f 'a d 'a d 'a ] + [ 'd 'e 'g 'e 'g 'e ] + [ 'cis 'e 'g 'e 'g 'e ] + [ 'd 'a d 'a d 'a ] + } + { \stem \down; + 'd2 r4 + ''bes2 r4 + ''a2 r4 + 'd2 r4 + } > +%%9 + \stem 0; + [ 'a e g e g e ] | +%%10 + [ 'd 'a d 'a d 'a ] | +%%11 + < \multi 2; + { \stem \up; + [ 'f 'a d 'a d 'a ] + [ 'd 'e 'g 'e 'g 'e ] + [ 'e 'g 'bes 'g 'bes 'g ] + [ 'a c f c f c ] + } { \stem \down; + 'd2 r4 + ''bes2 r4 + 'c2 r4 + 'f2 r4 } + > +%%15 + \stem 0; + [ 'c 'g 'bes 'g 'bes 'g ] | +%%16 + [ ''f 'c 'f 'c 'f 'c ] | + < \multi 2; + { \stem \up; + [ ''a 'e 'g 'e 'g 'e ][ 'd 'a d 'a d 'a ] + [ ''bes 'f 'bes 'f 'bes 'f ][ ''f 'c 'f 'c 'f 'c ] } + { \stem \down; + ''a2 r4 + 'd2 r4 + ''bes2 r4 + ''f2 r4 + } > +%%21 + \stem 0; + < [ 'e 'c > 'g c 'g c 'g ] | +%%22 + [ 'f 'a c 'a 'f 'c ] | + < \multi 2; { + \stem \up; + [ ''a 'e 'g 'e 'g 'e ] + [ 'd 'fis 'a 'fis 'a 'fis ] + [ ''g 'd 'b 'd 'b 'd ] + [ 'd 'a d 'a d 'a ] + } + {\stem \down; + ''a2 r4 + 'd2 r4 + ''g2 r4 + 'd2 r4 + } + > + \stem 0; + < [ 'cis ''a > 'e 'a 'e 'a 'e ] | +%%28 + [ 'd 'a d 'a d 'a ] | +%%29 + [ 'd 'g 'bes 'g 'bes 'g ] | +%#%\volta1 +%%30 + [ 'd 'fis 'a 'fis 'a 'fis ] | +%%31 + [ ''a 'e 'a 'e 'a 'e ] | +%%32 + [ 'd 'fis 'a 'fis 'a 'fis ] | +%%33 + [ 'd 'g 'b 'g 'b 'g ] | +%%34 + [ 'd 'fis 'a 'fis 'a 'fis ] | +%%35 + [ ''a 'e 'a 'e 'a 'e ] | +%%36 + [ 'd 'fis 'a 'fis 'a 'fis ] | +%#%\volta2 +%%37 + [ ''a 'e 'g 'e ''bes^> 'e ] | +%%38 + [ ''a < e cis 'a > < e cis 'a > < e cis 'a > < e cis 'a > < e cis 'a ] > | +%%39 + [ ''a 'e 'g 'e ''bes^> 'e ] | +%%40 + [ ''a < e cis 'a > < e cis 'a > < e cis 'a > < e cis 'a > < e cis 'a ] > | +%%41 + [ ''ais 'e 'fis 'e 'fis 'e ] | +%%42 + < [ 'd ''b > 'fis 'b 'fis 'b 'fis ] | +%%43 + < [ 'e ''b > 'g 'b 'g 'b 'g ] | +%%44 + < [ 'd ''b > 'fis 'b 'fis 'b 'fis ] | +%%45 + < \multi 2; { \stem \up; + [ ''g 'd 'b 'd 'b 'd ] + [ 'd 'a d 'a d 'a ] + } { + \stem \down; + ''g2 r4 + 'd2 r4 + } > + +%%47 + \stem 0; + < [ 'cis ''a > 'e 'a 'e 'a 'e ] | +%%48 + [ 'd 'fis 'a 'fis 'a 'fis ] | +%%49 + [ 'd 'a d 'a d 'a ] | +%%50 + [ ''g 'e 'g 'e 'g 'e ] | +%%51 + [ ''a 'e 'g 'e 'g 'e ] | +%%52 + [ ''d 'd 'fis 'd 'fis 'd ] | +%%53 + [ 'd 'g 'bes 'g 'bes 'g ] | +%%54 + [ 'd 'fis 'a 'fis 'a 'fis ] | +%%55 + [ ''a 'e 'g 'e 'g 'e ] | +%%56 + [ ''d ''a 'd ''a 'd ''a ] | +%%57 + [ ''d ''a 'd ''a 'd ''a ] +%%58 + < 'd2.^\fermata ''d2. > | + } + + +tekstI = \lyric{ + \meter 3/4; + \duration 4; + _ _ _ + _ _ _ + _ _ _ + _ _ _ +% 5 + [2/3 Lei- se8 ]1/1 fleh-4. en8 + [2/3 mei- ne8 ]1/1 Lie- der8 _8 + Durch4. die8 [2/3 Nacht zu8 ]1/1 + dir;2 _ + _ _ _ + _ _ _ +% 11 + [2/3 In den8 ]1/1 stil-4. len8 + [2/3 Hain her-8 ]1/1 nie-4. der,8 + Lieb4. chen,8 [2/3 komm zu8 ]1/1 + mir!2 _ + _ _ _ + _ _ _ + +% 17 + Fl\"us-8. ternd16 schlan-4. ke8 + Wip-8. fel16 rau-4. schen8 + [2/3 In des8 ]1/1 Mon-4. des8 + Licht;2. + _ _ _ + _ _ _ + +% 23 + Des8. Ver-16 r\"a-4. ters8 + feind-8. lich16 Lau-4. schen8 + [2/3 F\"urch- te,8 ]1/1 Hol-4. de,8 + nicht.2. + _ _ _ + _ _ _ + +% volta 1 +% 29 + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + +% volta 2 +% 37 + La\ss8. auch16 dir8. die16 Brust8. be-16 + we- gen, _ + Lieb-4. chen,8 h\"o-8. re16 + mich!2 _ + Be-8. bend16 harr' ich8 _8 + dir8. ent-16 ge- gen!8 _8 + [2/3 Komm, be-8 ]1/1 gl\"u4. cke8 + mich!2. + _ _ _ _ _ _ +% 47 + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ +% 57 + _ _ _ _ _ _ + +} + +tekstII = \lyric{ + \meter 3/4; + \duration 4; + _ _ _ + _ _ _ + _ _ _ + _ _ _ +% 5 + [2/3 H\"orst die8 ]1/1 Nach-4. ti-8 + [2/3 gal- len8 ]1/1 schla- gen?8 _8 + Ach!4. sie8 [2/3 fleh- en8 ]1/1 + dich,2 _ + _ _ _ + _ _ _ + +% 11 + [2/3 Mit der8 ]1/1 T\"o-4. ne8 + [2/3 s\"u\ss- en8 ]1/1 Kla-4. gen8 + Fleh-4. en8 [2/3 sie f\"ur8 ]1/1 + mich.2 _ + _ _ _ + _ _ _ + +% 17 + Sie-8. ver-16 stehn4. des8 + Bus-8. ens16 Seh-4. nen,8 + [2/3 Ken- nen8 ]1/1 Lieb-4. es-8 + schmerz,2. + _ _ _ + _ _ _ + +% 23 + R\"uh-8. ren16 mit4. den8 + Sil-8. ber-16 t\"o-4. nen8 + [2/3 Jed- es8 ]1/1 wei-4. che8 + Herz.2. + _ _ _ + _ _ _ +% volta 1 +% 29 + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + +% volta 2 +% 37 + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ +% 47 + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ + _ _ _ _ _ _ +% 57 + _ _ _ _ _ _ + +} + +themusic = + < + < \id "Lyric" "1"; + \tekstI + \tekstII + > + < \id "Piano" ""; + \multi 2; + \melodic < \melodie \commands > + \melodic < \begeleiding \commands > + > + > + + +\score{ + \themusic + \paper{ + \paper_twenty + % 20pt music uses whole pagewidth + linewidth= 195.\mm; + + % we want gourlay, don't set geometric + % geometric= 1.4; + gourlay_maxmeasures = 9.; + \output "standchen-20.out"; + } + \paper{ + % 16pt mustn't use whole page width + linewidth= 160.\mm; + % we want gourlay, don't set geometric + % geometric= 1.4; + gourlay_maxmeasures = 9.; + \output "standchen-16.out"; + } + \midi{ + \tempo 4 = 54; + } +} -- 2.39.5