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