1\version "2.21.0"
2
3\header{
4  texidoc =
5"The palm mute technique for stringed instruments
6is supported by triangle-shaped note heads."
7}
8
9palmmute = \relative c, {
10    \time 4/4
11    \palmMuteOn
12    e8^\markup { \musicglyph "noteheads.u2do"  = palm mute }
13    e e
14    \palmMuteOff  e e  \palmMute e e e |
15    e8 \palmMute { e e e } e e e e |
16    \palmMuteOn < e b' e >8 e e e < e b' e >2 \palmMuteOff |
17    < \palmMute e b' e >8 \palmMute { e e e } < \palmMute e b' e >2
18    \bar "|."
19}
20
21\context StaffGroup <<
22  \context Staff {
23    \context Voice {  % Warning: explicit Voice instantiation is
24                      %    required to have palmMuteOff work properly
25                      %    when palmMuteOn comes at the beginning of
26                      %    the piece.
27      \clef "G_8"
28      \palmmute
29    }
30  }
31  \context TabStaff <<
32    \palmmute
33  >>
34>>
35
36
37