]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/fretted-string-harmonics-in-tablature.ly
Merge branch 'translation' into staging
[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: 30339cb3706f6399c84607426988b25f79b4998c
27   texidocfr = "
28 Harmoniques et tablature (harmoniques artificielles).
29
30 "
31   doctitlefr = "Harmoniques et tablature"
32
33
34   texidoc = "
35 Demonstrates fretted-string harmonics in tablature
36
37 "
38   doctitle = "Fretted-string harmonics in tablature"
39 } % begin verbatim
40
41 pinchedHarmonics = {
42    \textSpannerDown
43    \override TextSpanner #'bound-details #'left #'text =
44       \markup {\halign #-0.5 \teeny "PH" }
45       \override TextSpanner #'style =
46          #'dashed-line
47    \override TextSpanner #'dash-period = #0.6
48    \override TextSpanner #'bound-details #'right #'attach-dir = #1
49    \override TextSpanner #'bound-details #'right #'text =
50       \markup { \draw-line #'(0 . 1) }
51    \override TextSpanner #'bound-details #'right #'padding = #-0.5
52 }
53
54 harmonics = {
55   %artificial harmonics (AH)
56   \textLengthOn
57   <\parenthesize b b'\harmonic>4_\markup{ \teeny "AH 16" }
58   <\parenthesize g g'\harmonic>4_\markup{ \teeny "AH 17" }
59   <\parenthesize d' d''\harmonic>2_\markup{ \teeny "AH 19" }
60   %pinched harmonics (PH)
61   \pinchedHarmonics
62   <a'\harmonic>2\startTextSpan
63   <d''\harmonic>4
64   <e'\harmonic>4\stopTextSpan
65   %tapped harmonics (TH)
66   <\parenthesize g\4 g'\harmonic>4_\markup{ \teeny "TH 17" }
67   <\parenthesize a\4 a'\harmonic>4_\markup{ \teeny "TH 19" }
68   <\parenthesize c'\3 c''\harmonic>2_\markup{ \teeny "TH 17" }
69   %touch harmonics (TCH)
70   a4( <e''\harmonic>2. )_\markup{ \teeny "TCH" }
71 }
72
73 frettedStrings = {
74   %artificial harmonics (AH)
75   \harmonicByFret #4 g4\3
76   \harmonicByFret #5 d4\4
77   \harmonicByFret #7 g2\3
78   %pinched harmonics (PH)
79   \harmonicByFret #7 d2\4
80   \harmonicByFret #5 d4\4
81   \harmonicByFret #7 a4\5
82   %tapped harmonics (TH)
83   \harmonicByFret #5 d4\4
84   \harmonicByFret #7 d4\4
85   \harmonicByFret #5 g2\3
86   %touch harmonics (TCH)
87   a4 \harmonicByFret #9 g2.\3
88 }
89
90 \score {
91   <<
92     \new Staff {
93       \new Voice {
94         \clef "treble_8"
95         \harmonics
96       }
97     }
98     \new TabStaff {
99       \new TabVoice {
100         \frettedStrings
101       }
102     }
103   >>
104 }