]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/guitar-slides.ly
0e508bcb362bf8856ba229fba3fd8ec141eb6727
[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.15.10
8 \version "2.15.10"
9
10 \header {
11 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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 %% Translation of GIT committish: 0
25   texidocfr = "
26 Contrairement au glissando, un @qq{slide} peut aller d'un point non
27 précisé du manche jusqu'à un fret spécifique.  Ceci peut s'indiquer à
28 l'aide d'une note d'ornement masquée précédant la note effectivement
29 jouée, comme dans l'exemple suivant.
30
31 "
32   doctitlefr = "Indication d'un glissé de guitare"
33
34   lsrtags = "fretted-strings"
35
36   texidoc = "
37 Unlike glissandos, slides may go from an imprecise point of the
38 fretboard to a specific fret. A good way to do that is to add a grace
39 hidden note before the note which is actually played, as demonstrated
40 in the following example.
41 "
42   doctitle = "Guitar slides"
43 } % begin verbatim
44
45
46 %% Hide fret number: useful to draw slide into/from a casual point of
47 %% the fretboard.
48 hideFretNumber = {
49   \once \override TabNoteHead #'transparent = ##t
50   \once \override NoteHead #'transparent = ##t
51   \once \override Stem #'transparent = ##t
52   \once \override Flag #'transparent = ##t
53   \once \override NoteHead #'no-ledgers = ##t
54   \once \override Glissando #'(bound-details left padding) = #0.3
55 }
56
57 music= \relative c' {
58   \grace { \hideFretNumber d8\2 \glissando s2 } g2\2
59   \grace { \hideFretNumber g8\2 \glissando s2 } d2 |
60
61   \grace { \hideFretNumber c,8 \glissando s } f4\5^\markup \tiny { Slide into }
62   \grace { \hideFretNumber f8 \glissando s } a4\4
63   \grace { \hideFretNumber e'8\3 \glissando s } b4\3^\markup \tiny { Slide from }
64   \grace { \hideFretNumber b'8 \glissando s2 } g4 |
65 }
66
67 \score {
68   <<
69     \new Staff {
70       \clef "G_8"
71       \music
72     }
73     \new TabStaff {
74       \music
75     }
76   >>
77 }