From: fred Date: Tue, 20 Feb 2001 17:28:49 +0000 (+0000) Subject: lilypond-1.3.130 X-Git-Tag: release/1.5.59~5707 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e6efc2036ea3b3ba88cfaca2cc3387531f805dbb;p=lilypond.git lilypond-1.3.130 --- diff --git a/input/tricks/partial-blank.ly b/input/tricks/partial-blank.ly new file mode 100644 index 0000000000..52131592eb --- /dev/null +++ b/input/tricks/partial-blank.ly @@ -0,0 +1,28 @@ + +%{ When entering half music (I.e. for students to complete by hand) + you need the spacing to correspond to the timing - all measures same length, etc. + This thing implements it by adding invisible staff with lots of fast notes. +%} + +\include "paper16.ly" +\version "1.3.129"; + +quickmeasure = \notes {[\repeat unfold 16 c''16]} +mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2} + +\score { +\context PianoStaff \notes < + \context Staff = v < + \clef G; + \context Voice=melo {\mel} + \context Voice=invisible { + \property Voice.NoteHead \override #'transparent = ##t + \property Voice.Stem \override #'transparent = ##t + \property Voice.Beam \override #'transparent = ##t + \repeat unfold 4 \quickmeasure + } + > + \context Staff = empty \notes {\clef F; s1*4} +> +\paper {} +}