]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/open-string-harmonics-in-tablature.ly
03aa376308e23ba329a21a29b36825282588571e
[lilypond.git] / Documentation / snippets / open-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 Referencia para armónicos sobre cuerdas al aire (armónicos naturales):
15
16 "
17   doctitlees = "Referencia para armónicos sobre cuerdas al aire"
18
19 %% Translation of GIT committish: f86f00c1a8de0f034ba48506de2801c074bd5422
20   texidocde = "
21 Referenz für Flageolett von offenen Saiten:
22 "
23   doctitlede = "Referenz für Flageolett von offenen Saiten"
24
25 %% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
26   texidocfr = "
27 Table des harmoniques sur corde à vide (harmoniques naturelles) :
28
29 "
30   doctitlefr = "Table des harmoniques sur corde à vide"
31
32
33
34   texidoc = "
35 This snippet demonstrates open-string harmonics
36
37 "
38   doctitle = "Open string harmonics in tablature"
39 } % begin verbatim
40
41 openStringHarmonics = {
42   %first harmonic
43   \harmonicByFret #12 e,2\6_\markup{"1st harm."}
44   \harmonicByRatio #1/2 e,\6
45   %second harmonic
46   \harmonicByFret #7 e,\6_\markup{"2nd harm. - - - -"}
47   \harmonicByRatio #1/3 e,\6
48   \harmonicByFret #19 e,\6
49   \harmonicByRatio #2/3 e,\6
50   %\harmonicByFret #19 < e,\6 a,\5 d\4 >
51   %\harmonicByRatio #2/3 < e,\6 a,\5 d\4 >
52   %third harmonic
53   \harmonicByFret #5 e,\6_\markup{"3rd harm. - - - -"}
54   \harmonicByRatio #1/4 e,\6
55   \harmonicByFret #24 e,\6
56   \harmonicByRatio #3/4 e,\6
57   \break
58   %fourth harmonic
59   \harmonicByFret #4 e,\6_\markup{"4th harm. - - - - - - - - - - - - -"}
60   \harmonicByRatio #1/5 e,\6
61   \harmonicByFret #9 e,\6
62   \harmonicByRatio #2/5 e,\6
63   \harmonicByFret #16 e,\6
64   \harmonicByRatio #3/5 e,\6
65   %fifth harmonic
66   \harmonicByFret #3 e,\6_\markup{"5th harm."}
67   \harmonicByRatio #1/6 e,\6
68   \break
69   %sixth harmonic
70   \harmonicByFret #2.7 e,\6_\markup{"6th harm."}
71   \harmonicByRatio #1/7 e,\6
72   %seventh harmonic
73   \harmonicByFret #2.3 e,\6_\markup{"7th harm."}
74   \harmonicByRatio #1/8 e,\6
75   %eighth harmonic
76   \harmonicByFret #2 e,\6_\markup{"8th harm."}
77   \harmonicByRatio #1/9 e,\6
78 }
79
80 \score {
81   <<
82     \new Staff {
83       \new Voice {
84         \clef "treble_8"
85         \openStringHarmonics
86       }
87     }
88     \new TabStaff {
89       \new TabVoice {
90         \openStringHarmonics
91       }
92     }
93   >>
94 }