]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/guitar-slides.ly
Doc-ja: add fretted-strings.itely.
[lilypond.git] / Documentation / snippets / guitar-slides.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.15.10"
9
10 \header {
11 %% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb
12
13
14   texidoces = "
15 A diferencia de los glissandos, los @q{slides} o ligaduras pueden
16 partir de un punto impreciso del mástil hasta un traste específico.
17 Una buena forma de hacerlo es añadir una nota de mordente antes de la
18 nota real, como se muestra en el ejemplo siguiente.
19
20 "
21
22   doctitlees = "Ligaduras de guitarra"
23
24   lsrtags = "fretted-strings"
25
26   texidoc = "
27 Unlike glissandos, slides may go from an imprecise point of the
28 fretboard to a specific fret. A good way to do that is to add a grace
29 hidden note before the note which is actually played, as demonstrated
30 in the following example.
31 "
32   doctitle = "Guitar slides"
33 } % begin verbatim
34
35
36 %% Hide fret number: useful to draw slide into/from a casual point of
37 %% the fretboard.
38 hideFretNumber = {
39   \once \override TabNoteHead #'transparent = ##t
40   \once \override NoteHead #'transparent = ##t
41   \once \override Stem #'transparent = ##t \once \override Flag #'transparent = ##t
42   \once \override Flag #'transparent = ##t
43   \once \override NoteHead #'no-ledgers = ##t
44   \once \override Glissando #'(bound-details left padding) = #0.3
45 }
46
47 music= \relative c' {
48   \grace { \hideFretNumber d8\2 \glissando s2 } g2\2
49   \grace { \hideFretNumber g8\2 \glissando s2 } d2 |
50
51   \grace { \hideFretNumber c,8 \glissando s } f4\5^\markup \tiny { Slide into }
52   \grace { \hideFretNumber f8 \glissando s } a4\4
53   \grace { \hideFretNumber e'8\3 \glissando s } b4\3^\markup \tiny { Slide from }
54   \grace { \hideFretNumber b'8 \glissando s2 } g4 |
55 }
56
57 \score {
58   <<
59     \new Staff {
60       \clef "G_8"
61       \music
62     }
63     \new TabStaff {
64       \music
65     }
66   >>
67 }