]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/dead-notes.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / dead-notes.ly
1 \version "2.16.0"
2
3 \header{ texidoc = "Muted notes (also called dead notes) are supported
4                     within normal staves and tablature."
5        }
6
7 mynotes = \relative c,, {
8    \deadNotesOn
9    e8. e16
10    \deadNotesOff
11    g4 a b |
12    e8. \deadNote e16 g4 a b |
13    e,4. \deadNote { e8 e e } e4 |
14    < e, \deadNote b' e >8 < e \deadNote b' e > < e \deadNote b' e >4 < e \deadNote b' e >4 r
15    \bar "|."
16 }
17
18 \context StaffGroup <<
19   \context Staff {
20     \context Voice {  % Warning: explicit voice instantiation is required
21                       %   to have deadNotesOff work properly
22                       %   when deadNotesOn comes at the beginning
23                       %   of the piece
24       \clef "bass_8"
25       \mynotes
26     }
27   }
28   \context TabStaff {
29     \context TabVoice {  % Warning:  explicit voice instantiation is
30                          %   required to have deadNotesOff work properly
31                          %   when deadNotesOn comes at the beginning
32                          %   of the piece
33       \set TabStaff.stringTunings = #bass-tuning
34       \mynotes
35     }
36   }
37 >>
38
39