]> 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 LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "fretted-strings"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Armónicos sobre cuerdas pisadas (armónicos artificiales):
15 "
16   doctitlees = "Armónicos sobre cuerdas pisadas en tablatura"
17
18
19
20 %% Translation of GIT committish: f86f00c1a8de0f034ba48506de2801c074bd5422
21   texidocde = "
22 Flageolett für Bundinstrumente:
23 "
24   doctitlede = "Flageolett von Bundinstrumenten in einer Tabulatur"
25
26 %% Translation of GIT committish: 40bf2b38d674c43f38058494692d1a0993fad0bd
27   texidocfr = "
28 Harmoniques et tablature (harmoniques artificielles)
29 "
30   doctitlefr = "Harmoniques et tablature"
31
32
33   texidoc = "
34 Demonstrates fretted-string harmonics in tablature
35
36 "
37   doctitle = "Fretted-string harmonics in tablature"
38 } % begin verbatim
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 }