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