]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/guitar-slides.ly
745067bc128856a31d27cf6d5e3b486452f26eb0
[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.13.36
8 \version "2.13.36"
9
10 \header {
11 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
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
42   \once \override NoteHead #'no-ledgers = ##t
43   \once \override Glissando #'(bound-details left padding) = #0.3
44 }
45
46 music= \relative c' {
47   \grace { \hideFretNumber d8\2 \glissando s2 } g2\2
48   \grace { \hideFretNumber g8\2 \glissando s2 } d2 |
49
50   \grace { \hideFretNumber c,8 \glissando s } f4\5^\markup \tiny { Slide into }
51   \grace { \hideFretNumber f8 \glissando s } a4\4
52   \grace { \hideFretNumber e'8\3 \glissando s } b4\3^\markup \tiny { Slide from }
53   \grace { \hideFretNumber b'8 \glissando s2 } g4 |
54 }
55
56 \score {
57   <<
58     \new Staff {
59       \clef "G_8"
60       \music
61     }
62     \new TabStaff {
63       \music
64     }
65   >>
66 }