]> git.donarmstrong.com Git - lilypond.git/blob - input/test/partial-blank.ly
Add texidoc index and a few comments.
[lilypond.git] / input / test / partial-blank.ly
1 \version "1.7.18"
2 % check with invisible-notes or blank-notes.  possible rename. -gp
3 \header{ texidoc = "@cindex Partial Blank
4 When entering half music (i.e. for students to complete by hand)
5 you need the spacing to correspond to the timing -- all measures
6 same length, etc.  This thing implements it by adding invisible
7 staff with lots of fast notes. "
8 }
9
10 quickmeasure = \notes {[\repeat unfold 16 c''16]}
11 mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
12
13 \score {
14 \context PianoStaff \notes <
15   \context Staff = v <
16     \clef G
17     \context Voice=melo {\mel}
18     \context Voice=invisible {
19         \property Voice.NoteHead \override #'transparent = ##t
20         \property Voice.Stem \override #'transparent = ##t
21         \property Voice.Beam \override #'transparent = ##t
22         \repeat unfold 4 \quickmeasure
23     }
24   >
25   \context Staff = empty \notes {\clef F s1*4}
26 >
27 \paper {}
28 }
29 %% new-chords-done %%