]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/fretted-string-harmonics-in-tablature.ly
Doc: run makelsr locally.
[lilypond.git] / Documentation / snippets / fretted-string-harmonics-in-tablature.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.14.0
8 \version "2.14.0"
9
10 \header {
11 %% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
12   texidoces = "
13 Armónicos sobre cuerdas pisadas (armónicos artificiales):
14 "
15   doctitlees = "Armónicos sobre cuerdas pisadas en tablatura"
16
17
18
19 %% Translation of GIT committish: f86f00c1a8de0f034ba48506de2801c074bd5422
20   texidocde = "
21 Flageolett für Bundinstrumente:
22 "
23   doctitlede = "Flageolett von Bundinstrumenten in einer Tabulatur"
24
25 %% Translation of GIT committish: 40bf2b38d674c43f38058494692d1a0993fad0bd
26   texidocfr = "
27 Harmoniques et tablature (harmoniques artificielles)
28 "
29   doctitlefr = "Harmoniques et tablature"
30
31
32   lsrtags = "fretted-strings"
33   texidoc = "
34 Fretted-string harmonics:
35 "
36   doctitle = "Fretted-string harmonics in tablature"
37 } % begin verbatim
38
39
40 pinchedHarmonics = {
41    \textSpannerDown
42    \override TextSpanner #'bound-details #'left #'text =
43       \markup {\halign #-0.5 \teeny "PH" }
44       \override TextSpanner #'style =
45          #'dashed-line
46    \override TextSpanner #'dash-period = #0.6
47    \override TextSpanner #'bound-details #'right #'attach-dir = #1
48    \override TextSpanner #'bound-details #'right #'text =
49       \markup { \draw-line #'(0 . 1) }
50    \override TextSpanner #'bound-details #'right #'padding = #-0.5
51 }
52
53 harmonics = {
54   %artificial harmonics (AH)
55   \textLengthOn
56   <\parenthesize b b'\harmonic>4_\markup{ \teeny "AH 16" }
57   <\parenthesize g g'\harmonic>4_\markup{ \teeny "AH 17" }
58   <\parenthesize d' d''\harmonic>2_\markup{ \teeny "AH 19" }
59   %pinched harmonics (PH)
60   \pinchedHarmonics
61   <a'\harmonic>2\startTextSpan
62   <d''\harmonic>4
63   <e'\harmonic>4\stopTextSpan
64   %tapped harmonics (TH)
65   <\parenthesize g\4 g'\harmonic>4_\markup{ \teeny "TH 17" }
66   <\parenthesize a\4 a'\harmonic>4_\markup{ \teeny "TH 19" }
67   <\parenthesize c'\3 c''\harmonic>2_\markup{ \teeny "TH 17" }
68   %touch harmonics (TCH)
69   a4( <e''\harmonic>2. )_\markup{ \teeny "TCH" }
70 }
71
72 frettedStrings = {
73   %artificial harmonics (AH)
74   \harmonicByFret #4 g4\3
75   \harmonicByFret #5 d4\4
76   \harmonicByFret #7 g2\3
77   %pinched harmonics (PH)
78   \harmonicByFret #7 d2\4
79   \harmonicByFret #5 d4\4
80   \harmonicByFret #7 a4\5
81   %tapped harmonics (TH)
82   \harmonicByFret #5 d4\4
83   \harmonicByFret #7 d4\4
84   \harmonicByFret #5 g2\3
85   %touch harmonics (TCH)
86   a4 \harmonicByFret #9 g2.\3
87 }
88
89 \score {
90   <<
91     \new Staff {
92       \new Voice {
93         \clef "treble_8"
94         \harmonics
95       }
96     }
97     \new TabStaff {
98       \new TabVoice {
99         \frettedStrings
100       }
101     }
102   >>
103 }