]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/chord-tremolo.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / chord-tremolo.ly
index 6d941ff9715707ebb379cc32a8e397388a218fef..2e14abdc197d023503d25cab22db88a32e9cc591 100644 (file)
@@ -1,3 +1,5 @@
+\version "2.16.0"
+
 \header{
 texidoc="
 Chord tremolos look like beams, but are a kind of repeat symbol.
@@ -5,16 +7,35 @@ To avoid confusion, chord tremolo beams do not reach the stems, but
 leave a gap.  Chord tremolo beams on half notes are not ambiguous,
 as half notes cannot appear in a regular beam, and should reach the 
 stems.
-";
+
+In this example, each tremolo lasts exactly one measure.
+
+(To ensure that the spacing engine is not confused we add some regular
+notes as well.)
+
+"
 }
-  
-\score { 
-  \context Voice \notes\relative c {
-       \repeat "tremolo" 8 { c16 d16 }
-       \repeat "tremolo" 4 { c16 d16 }    
-  }
-  \paper {
-    linewidth=-1.0;
-  }  
-  \midi { }
+
+\context Voice \relative c' {
+  \time 4/4
+  \repeat "tremolo" 16 { d32 e }
+  \repeat "tremolo" 8 { d16 e }
+  \repeat "tremolo" 4 { d8 e }
+
+  \time 3/4
+  \repeat "tremolo" 12 { d32 e }
+  \repeat "tremolo" 6 { d16 e } 
+  \repeat "tremolo" 3 { d8 e } 
+
+  \time 2/4
+  \repeat "tremolo" 8 { d32 e }
+  \repeat "tremolo" 4 { d16 e }
+  \repeat "tremolo" 2 { d8 e }
+
+  \time 1/4
+  \repeat "tremolo" 4 { d32 e }
+  \repeat "tremolo" 2 { d16 e }
+
+  c4 c4 c4 c4 c4 
 }
+