I think that there are some wrong pitches in this snippet:
http://lilypond.org/doc/v2.13/Documentation/snippets/fretted-strings#fretted_002dstring-harmonics-in-tablature
 

Can you check it?

I would write as in the attached file (see diff).

Thanks,
Federico
--- fretted-string-harmonics-in-tablature.ly	2011-05-22 21:42:10.729005582 +0200
+++ /home/fede/lilypond-master/Documentation/snippets/fretted-string-harmonics-in-tablature.ly	2011-05-02 22:10:38.405733175 +0200
@@ -46,20 +46,20 @@
 harmonics = {
   %artificial harmonics (AH)
   \textLengthOn
-  <\parenthesize b b'\harmonic>4_\markup{ \teeny "AH 16" }
-  <\parenthesize g g'\harmonic>4_\markup{ \teeny "AH 17" }
-  <\parenthesize d' d''\harmonic>2_\markup{ \teeny "AH 19" }
+  <\parenthesize b b''\harmonic>4_\markup{ \teeny "AH 16" }
+  <\parenthesize g g''\harmonic>4_\markup{ \teeny "AH 17" }
+  <\parenthesize d' d'''\harmonic>2_\markup{ \teeny "AH 19" }
   %pinched harmonics (PH)
   \pinchedHarmonics
   <a'\harmonic>2\startTextSpan
-  <d''\harmonic>4
+  <g'\harmonic>4
   <e'\harmonic>4\stopTextSpan
   %tapped harmonics (TH)
   <\parenthesize g\4 g'\harmonic>4_\markup{ \teeny "TH 17" }
   <\parenthesize a\4 a'\harmonic>4_\markup{ \teeny "TH 19" }
   <\parenthesize c'\3 c''\harmonic>2_\markup{ \teeny "TH 17" }
   %touch harmonics (TCH)
-  a4( <e'\harmonic>2. )_\markup{ \teeny "TCH" }
+  a4( <e''\harmonic>2. )_\markup{ \teeny "TCH" }
 }
 
 frettedStrings = {
% DO NOT EDIT this file manually; it is automatically
% generated from Documentation/snippets/new
% Make any changes in Documentation/snippets/new/
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
%% Note: this file works from version 2.13.49
\version "2.13.49"

\header {
%% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
  texidoces = "
Armónicos sobre cuerdas pisadas (armónicos artificiales):
"
  doctitlees = "Armónicos sobre cuerdas pisadas en tablatura"



%% Translation of GIT committish: f86f00c1a8de0f034ba48506de2801c074bd5422
  texidocde = "
Flageolett für Bundinstrumente:
"
  doctitlede = "Flageolett von Bundinstrumenten in einer Tabulatur"

  lsrtags = "fretted-strings"
  texidoc = "
Fretted-string harmonics:
"
  doctitle = "Fretted-string harmonics in tablature"
} % begin verbatim


pinchedHarmonics = {
   \textSpannerDown
   \override TextSpanner #'bound-details #'left #'text =
      \markup {\halign #-0.5 \teeny "PH" }
      \override TextSpanner #'style =
         #'dashed-line
   \override TextSpanner #'dash-period = #0.6
   \override TextSpanner #'bound-details #'right #'attach-dir = #1
   \override TextSpanner #'bound-details #'right #'text =
      \markup { \draw-line #'(0 . 1) }
   \override TextSpanner #'bound-details #'right #'padding = #-0.5
}

harmonics = {
  %artificial harmonics (AH)
  \textLengthOn
  <\parenthesize b b'\harmonic>4_\markup{ \teeny "AH 16" }
  <\parenthesize g g'\harmonic>4_\markup{ \teeny "AH 17" }
  <\parenthesize d' d''\harmonic>2_\markup{ \teeny "AH 19" }
  %pinched harmonics (PH)
  \pinchedHarmonics
  <a'\harmonic>2\startTextSpan
  <d''\harmonic>4
  <e'\harmonic>4\stopTextSpan
  %tapped harmonics (TH)
  <\parenthesize g\4 g'\harmonic>4_\markup{ \teeny "TH 17" }
  <\parenthesize a\4 a'\harmonic>4_\markup{ \teeny "TH 19" }
  <\parenthesize c'\3 c''\harmonic>2_\markup{ \teeny "TH 17" }
  %touch harmonics (TCH)
  a4( <e'\harmonic>2. )_\markup{ \teeny "TCH" }
}

frettedStrings = {
  %artificial harmonics (AH)
  \harmonicByFret #4 g4\3
  \harmonicByFret #5 d4\4
  \harmonicByFret #7 g2\3
  %pinched harmonics (PH)
  \harmonicByFret #7 d2\4
  \harmonicByFret #5 d4\4
  \harmonicByFret #7 a4\5
  %tapped harmonics (TH)
  \harmonicByFret #5 d4\4
  \harmonicByFret #5 d4\4
  \harmonicByFret #4 g2\3
  %touch harmonics (TCH)
  a4 \harmonicByFret #9 g2.\3
}

\score {
  <<
    \new Staff {
      \new Voice {
        \clef "treble_8"
        \harmonics
      }
    }
    \new TabStaff {
      \new TabVoice {
        \frettedStrings
      }
    }
  >>
}
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to