]> git.donarmstrong.com Git - lilypond.git/blob - input/test/partial-blank.ly
move from abe.ly
[lilypond.git] / input / test / partial-blank.ly
1 \version "1.7.18"
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
9 quickmeasure = \notes {[\repeat unfold 16 c''16]}
10 mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
11
12 \score {
13 \context PianoStaff \notes <
14   \context Staff = v <
15     \clef G
16     \context Voice=melo {\mel}
17     \context Voice=invisible {
18         \property Voice.NoteHead \override #'transparent = ##t
19         \property Voice.Stem \override #'transparent = ##t
20         \property Voice.Beam \override #'transparent = ##t
21         \repeat unfold 4 \quickmeasure
22     }
23   >
24   \context Staff = empty \notes {\clef F s1*4}
25 >
26 \paper {}
27 }
28 %% new-chords-done %%