]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 1046: Documenting \deadNote|\deadNotesOn|\deadNotesOff
authorMarc Hohl <marc@hohlart.de>
Tue, 30 Mar 2010 20:41:10 +0000 (22:41 +0200)
committerGraham Percival <graham@percival-music.ca>
Wed, 31 Mar 2010 09:32:05 +0000 (10:32 +0100)
Documentation/notation/fretted-strings.itely
Documentation/notation/pitches.itely

index 0ef0d107257795dd97adca495486177303a860ec..a39a809ba2c7e559c378d595e1ded1854625c5c7 100644 (file)
@@ -1470,13 +1470,34 @@ text markup.
 @lilypond[quote,ragged-right,verbatim]
 \relative c' {
   \clef "treble_8"
-  \override Staff.NoteHead #'style = #'cross
-  g8 a b c b4
   \override Staff.NoteHead #'style = #'harmonic-mixed
   d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
 }
 @end lilypond
 
+Dampened notes (also called @notation{dead notes}) are supported
+within normal and tablature staves:
+
+@lilypond[quote,ragged-right,verbatim]
+music = \relative c' {
+  < a\3 \deadNote c\2 a'\1 >4
+  < b\3 \deadNote d\2 b'\1 >4
+  < c\3 \deadNote e\2 c'\1 >8
+  \deadNotesOn
+  \times 2/3 { g16\3 b\2 e\1 }
+  \deadNotesOff
+  < a,\3 c\2 e\1 >4
+}
+\new StaffGroup <<
+  \new Staff {
+    \clef "treble_8"
+    \music
+  }
+  \new TabStaff {
+    \music
+  }
+>>
+@end lilypond
 
 @seealso
 Snippets:
index 8bb544a431631b3381c4094a0087706b26fc11f9..31af761a7e8f38a5950a697d58c9dba3a35803de 100644 (file)
@@ -2574,6 +2574,10 @@ c4 b
 c b < g \xNote c f > b
 @end lilypond
 
+As synonyms for @code{\xNote}, @code{\xNotesOn} and @code{\xNotesOff},
+@code{\deadNote}, @code{\deadNotesOn} and @code{\deadNotesOff} can
+be used.  The term @notation{dead note} is commonly used by guitarists.
+
 There is also a shorthand for diamond shapes which can be used
 only inside chords:
 
@@ -2594,7 +2598,8 @@ Snippets:
 
 Notation Reference:
 @ref{Note head styles},
-@ref{Chorded notes}.
+@ref{Chorded notes},
+@ref{Indicating harmonics and dampened notes}.
 
 Internals Reference:
 @rinternals{note-event},