]> git.donarmstrong.com Git - lilypond.git/blob - input/template/piano-lyrics.ly
f84b9d4ad7de35313839872812304041d00a070d
[lilypond.git] / input / template / piano-lyrics.ly
1 \version "2.1.10"
2
3 \header {
4   texidoc ="Lyrics between two staffs."
5 }
6
7 upper = \notes\relative c'' {
8   a b c d
9 }
10
11 lower = \notes\relative c {
12   a2 c
13 }
14
15 text = \lyrics {
16   Aaa Bee Cee Dee
17 }
18
19 \score {
20   \context GrandStaff <<
21     \context Staff = upper {
22         \context Voice = singer \upper
23     }
24     \lyricsto "singer" \new LyricsVoice \text
25     \context Staff = lower <<
26       \clef bass
27       \lower
28     >>  
29   >>
30   \paper {
31     \translator {
32       \GrandStaffContext
33       \accepts "Lyrics"
34     }
35     \translator {
36       %\LyricsVoiceContext
37       \LyricsContext
38       \consists "Bar_engraver"
39     }
40   }  
41   \midi { }  
42 }