]> git.donarmstrong.com Git - lilypond.git/blob - input/tutorial/flowing.ly
update syntax in .ly files.
[lilypond.git] / input / tutorial / flowing.ly
1 \version "1.7.6"
2
3 \header {
4         title = "The river is flowing"
5         composer = "Traditonal (?)"
6 }
7
8 \include "paper16.ly"
9
10 melody = \notes \relative c' {
11         \partial 8
12         g8 |
13         c4 c8 d es-[ ( d-]-) c4 | f4 f8 g es-(-[ d-)-] c g |
14         c4 c8 d es-[ ( d-]-) c4 | d4 es8 d c4.
15         \bar "|."
16 }
17
18 text = \lyrics {
19         The ri -- ver is flo- __ wing, flo -- wing and gro -- wing, the
20         ri -- ver is flo -- wing down to the sea.
21 }
22
23 accompaniment =\chords {
24         r8
25         c2:3- f:3-.7 d:min es4 c8:min r8
26         c2:min f:min7 g:7^3.5 c:min }
27
28 \score {
29         \simultaneous {
30 %         \accompaniment
31           \context ChordNames \accompaniment
32
33           \addlyrics
34              \context Staff = mel
35              {  \property Staff.autoBeaming = ##f
36                 \property Staff.automaticMelismata = ##t
37                 \melody }
38              \context Lyrics \text
39         }
40         \midi  { }
41         \paper { linewidth = 10.0\cm }
42 }