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