lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Issue 1046


From: Marc Hohl
Subject: Re: [PATCH] Issue 1046
Date: Wed, 31 Mar 2010 11:17:25 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100317)

Graham Percival schrieb:
On Wed, Mar 31, 2010 at 12:01 AM, Marc Hohl <address@hidden> wrote:
diff --git a/Documentation/notation/fretted-strings.itely
@@ -1470,13 +1470,33 @@ text markup.
address@hidden,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

Predefined commands should go on their own lines unless they refer to
a single note.  \deadNote is fine, but \deadNoteOn/Off should be on
separate lines.

Ok, done.
+\new StaffGroup <<
+  \new Staff {
+    \clef "treble_8"
+    \override Voice.StringNumber #'transparent = ##t

Is this absolutely vital to demonstrate \deadNote ?  (honest question:
if yes, fine, but please add a comment saying that it's necessary.  If
it's not necessary, then please remove the tweak)
To be honest: it isn't strictly necessary, but the
displayed string numbers are partly crossed out by the
beams; furthermore, string numbers in combination with
tablature is redundant. But for sake of simplicity, I removed
the tweak.

Marc
Cheers,
- Graham


>From c98b8c2232a545d3efe45e7200816c0975dc10f1 Mon Sep 17 00:00:00 2001
From: Marc Hohl <address@hidden>
Date: Tue, 30 Mar 2010 22:41:10 +0200
Subject: [PATCH] Issue 1046: Documenting \deadNote|\deadNotesOn|\deadNotesOff

---
 Documentation/notation/fretted-strings.itely |   25 +++++++++++++++++++++++--
 Documentation/notation/pitches.itely         |    7 ++++++-
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/Documentation/notation/fretted-strings.itely 
b/Documentation/notation/fretted-strings.itely
index 0ef0d10..a39a809 100644
--- a/Documentation/notation/fretted-strings.itely
+++ b/Documentation/notation/fretted-strings.itely
@@ -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:
+
address@hidden,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
+  }
+>>
address@hidden lilypond
 
 @seealso
 Snippets:
diff --git a/Documentation/notation/pitches.itely 
b/Documentation/notation/pitches.itely
index 8bb544a..31af761 100644
--- a/Documentation/notation/pitches.itely
+++ b/Documentation/notation/pitches.itely
@@ -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},
address@hidden, @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},
address@hidden notes}.
address@hidden notes},
address@hidden harmonics and dampened notes}.
 
 Internals Reference:
 @rinternals{note-event},
-- 
1.5.4.3


reply via email to

[Prev in Thread] Current Thread [Next in Thread]