]> git.donarmstrong.com Git - lilypond.git/blob - input/template/piano-melody-lyrics.ly
* lily/lyric-phrasing-engraver.cc: move from
[lilypond.git] / input / template / piano-melody-lyrics.ly
1
2 \header {
3   texidoc ="Classical song format: one staff with melody and lyrics,
4 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         \autoBeamOff
29         \melody
30       }
31       \context 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     \translator { \RemoveEmptyStaffContext }
43   }  
44   \midi { }  
45 }