]> git.donarmstrong.com Git - lilypond.git/blob - input/template/piano-melody-lyrics.ly
update syntax in .ly files.
[lilypond.git] / input / template / piano-melody-lyrics.ly
1 \version "1.7.6"
2
3 \header {
4   texidoc ="Classical song format: one staff with melody and lyrics, and piano accompaniment."
5   
6 }
7
8 melody = \notes \relative c'' {
9   a b c d
10 }
11
12 text = \lyrics {
13   Aaa Bee Cee Dee
14 }
15
16 upper = \notes\relative c'' {
17   a b c d
18 }
19
20 lower = \notes\relative c {
21   a2 c
22 }
23
24 \score {
25   <
26     \addlyrics
27       \context Staff = mel {
28         \property Staff.autoBeaming = ##f
29         \property Staff.automaticMelismata = ##t
30         \melody
31       }
32       \context Lyrics \text
33
34     \context PianoStaff <
35       \context Staff = upper \upper
36       \context Staff = lower <
37         \clef bass
38         \lower
39       >
40     >
41   >
42   \paper {
43     \translator { \HaraKiriStaffContext }
44   }  
45   \midi { }  
46 }