]> git.donarmstrong.com Git - lilypond.git/blob - input/template/piano-melody-lyrics.ly
d12b369614337609883cce3da44b3dca54730bc1
[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       \context Voice = mel {
27           \autoBeamOff
28           \melody
29       }
30       \newaddlyrics mel \new LyricsVoice \text
31
32       \context PianoStaff <<
33           \context Staff = upper \upper
34           \context Staff = lower <<
35               \clef bass
36               \lower
37           >>
38       >>
39   >>
40   \paper {
41       \translator { \RemoveEmptyStaffContext }
42   }  
43   \midi { }  
44 }