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