]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/palm-mute.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / palm-mute.ly
index 33123f3f8e8c176d95d85d27662d25d2d2829066..391c06705721ac37ba8ab313a7744ed5f349f15d 100644 (file)
@@ -1,13 +1,17 @@
-\version "2.13.4"
+\version "2.16.0"
 
-\header{ texidoc = "The palm mute technique for stringed instruments
-                    is supported by triangle-shaped note heads."
-       }
+\header{
+  texidoc =
+"The palm mute technique for stringed instruments
+is supported by triangle-shaped note heads."
+}
 
 palmmute = \relative c, {
     \time 4/4
+    \palmMuteOn
     e8^\markup { \musicglyph #"noteheads.u2do"  = palm mute }
-    \palmMuteOn e e \palmMuteOff  e e  \palmMute e e e |
+    e e
+    \palmMuteOff  e e  \palmMute e e e |
     e8 \palmMute { e e e } e e e e |
     \palmMuteOn < e b' e >8 e e e < e b' e >2 \palmMuteOff |
     < \palmMute e b' e >8 \palmMute { e e e } < \palmMute e b' e >2
@@ -15,10 +19,15 @@ palmmute = \relative c, {
 }
 
 \context StaffGroup <<
-  \context Staff <<
-    \clef "G_8"
-    \palmmute
-  >>
+  \context Staff {
+    \context Voice {  % Warning: explicit Voice instantiation is
+                      %    required to have palmMuteOff work properly
+                      %    when palmMuteOn comes at the beginning of
+                      %    the piece.
+      \clef "G_8"
+      \palmmute
+    }
+  }
   \context TabStaff <<
     \palmmute
   >>