Index: Documentation/notation/fretted-strings.itely |
diff --git a/Documentation/notation/fretted-strings.itely b/Documentation/notation/fretted-strings.itely |
index 462de4096d4d6aeb65972a297e08a87502c8dae5..d34a6b4801dd3434cc9eb33371d65ccfd45e6826 100644 |
--- a/Documentation/notation/fretted-strings.itely |
+++ b/Documentation/notation/fretted-strings.itely |
@@ -358,15 +358,67 @@ ties = \relative c' { |
@cindex tablature and harmonic indications |
@cindex slides in tablature notation |
@cindex tablature and slides |
+@cindex chord glissandi |
+@funindex \harmonic |
+@funindex \harmonicByFret |
+@funindex \harmonicByRatio |
+@funindex \chordGlissando |
+ |
+Harmonic indications can be added to tablature notation as sounding |
+pitches: |
+ |
+@lilypond[verbatim,quote] |
+firstHarmonic = { |
+ \ottava #1 |
+ <d'\4\harmonic>4 |
+ <g'\3\harmonic>4 |
+ <b'\2\harmonic>2 |
+} |
+\score { |
+ << |
+ \new Staff { \clef "treble_8" \firstHarmonic } |
+ \new TabStaff { \firstHarmonic } |
+ >> |
+} |
+@end lilypond |
-Harmonic indications and slides can be added to tablature |
-notation. |
+Please note that the command @code{\harmonic} must always be defined |
+inside a chord construct. It only makes sense for open-string harmonics |
+in the 12th fret. All other harmonics should be calculated |
+by LilyPond. This can be achieved by indicating the fret where a finger |
+of the fretting hand should touch a string. |
+ |
+@lilypond[verbatim,quote] |
+fretHarmonics = { |
+ \ottava #1 |
+ \harmonicByFret #5 d16\4 |
+ \harmonicByFret #4 d16\4 |
+ \harmonicByFret #3 d8\4 |
+ \harmonicByFret #5 <g\3 b\2>2. |
+} |
+\score { |
+ << |
+ \new Staff { \clef "treble_8" \fretHarmonics } |
+ \new TabStaff { \fretHarmonics } |
+ >> |
+} |
+@end lilypond |
-@lilypond[verbatim, quote, relative=1] |
-\new TabStaff { |
- \new TabVoice { |
- <c g'\harmonic>4 d\2\glissando e\2 |
- } |
+Alternatively, harmonics can be computed by defining the ratio of string |
+lengths above and below the harmonic fingering. |
+ |
+@lilypond[verbatim,quote] |
+ratioHarmonics = { |
+ \ottava #1 |
+ \harmonicByRatio #1/2 <g\3 b\2 e'\1>4 |
+ \harmonicByRatio #1/3 <g\3 b\2 e'\1>4 |
+ \harmonicByRatio #1/4 { g8\3 b8\2 e'4\1 } |
+} |
+\score { |
+ << |
+ \new Staff { \clef "treble_8" \ratioHarmonics } |
+ \new TabStaff { \ratioHarmonics } |
+ >> |
} |
@end lilypond |
@@ -379,10 +431,24 @@ notation. |
@lilypondfile[verbatim,lilyquote,texidoc,doctitle] |
{polyphony-in-tablature.ly} |
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle] |
+{tablature-open-string-harmonics.ly} |
+ |
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle] |
+{tablature-fretted-string-harmonics.ly} |
+ |
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle] |
+{tablature-slides.ly} |
+ |
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle] |
+{tablature-chord-glissando.ly} |
+ |
@seealso |
Notation Reference: |
-@ref{Stems}. |
+@ref{Stems}, |
+@ref{Harmonics}, |
+@ref{Glissando}. |
Snippets: |
@rlsr{Fretted strings}. |
@@ -416,7 +482,6 @@ melodia = \partcombine { e4 g g g } { e4 e e e } |
>> |
@end lilypond |
-Guitar special effects are limited to harmonics and slides. |
@node Custom tablatures |
@unnumberedsubsubsec Custom tablatures |