]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/making-slurs-with-complex-dash-structure.ly
Allow open strings in chords regardless of finger positions
[lilypond.git] / Documentation / snippets / making-slurs-with-complex-dash-structure.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.14.0"
9
10 \header {
11 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
12   texidoces = "
13
14 Las ligaduras de expresión se pueden construir con patrones de
15 discontinuidad complejos mediante la definición de la propiedad
16 @code{dash-definition}.  @code{dash-definition} es una lista de
17 @code{elementos de discontinuidad}.  Un @code{elemento de
18 discontinuidad} es una lista de parámetros que definen el
19 comportamiento de discontinuidad de un segmento de la ligadura de
20 expresión.
21
22 La ligadura se define en términos del parámetro de bezier t cuyo
23 rango va de 0 a la izquierda de la ligadura hasta 1 en el extremo
24 derecho de la ligadura.  Cada @code{elemento de discontinuidad} es
25 una lista @code{(t-inicio t-final fracción-discontinuidad
26 período-discontinuidad)}.  La región de la ligadura desde
27 @code{t-inicio} hasta @code{t-final} tendrá una fracción
28 @code{fracción-discontinuidad} de cada
29 @code{período-discontinuidad} de color negro.
30 @code{período-discontinuidad} se define en términos de espacios de
31 pentagrama.  @code{fracción-discontinuidad} se establece al valor
32 de 1 para una ligadura continua.
33
34 "
35
36   doctitlees = "Hacer ligaduras de expresión con estructura compleja de discontinuidad"
37
38
39
40 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
41   texidocde = "
42 Legatobögen können mit einem komplizierten Strichelmuster
43 gesetzt werden, indem die @code{dash-definition}-Eigenschaft
44 definiert wird.  @code{dash-definition} ist eine Liste bestehend
45 aus @code{dash-elements}-Elementen.  Ein @code{dash-element} ist
46 eine Liste an Parametern, die das Strichverhalten für einen
47 Abschnitt des Legatobogens definieren.
48
49 Der Bogen wird nach dem Bezierparameter t definiert, welcher
50 von 0 am linken Ende des Bogens zu 1 am rechten Ende des Bogens
51 reicht.  @code{dash-element} ist eine Liste @code{(start-t stop-t dash-Unterbrechung dash-Abschnitt)}.  Die Region des Bogens von @code{start-t}
52 bis @code{stop-t} hat eine Unterbrechung von @code{dash-Unterbrechung}
53 von jedem @code{dash-Abschnitt}-Schwarzabschnitt.  @code{dash-Abschnitt} ist in Notenlinienzwischenräumen definiert.
54 @code{dash-Abschnitt} ist auf 1 für einen durchgehenden Bogen
55 gesetzt.
56 "
57   doctitlede = "Legatobögen mit kompliziertem Strichelmuster
58   definieren"
59
60 %% Translation of GIT committish: 4ab2514496ac3d88a9f3121a76f890c97cedcf4e
61   texidocfr = "
62 Grâce à la propriété @code{dash-definition}, une liaison d'articulation
63 peut être formée de traits discontinus variables.
64 @code{dash-definition} se compose d'une liste de
65 @code{segments-discontinus} (@emph{dash-elements}).  Chaque
66 @code{segment-discontinu} contient une liste de paramètres qui
67 déterminent le comportement du trait pour une section de la liaison.
68
69 Cette liaison se définit selon le paramètre de Bézier @code{t} qui est
70 compris entre 0 (l'extrémité gauche de la liaison) et 1 (l'extrémité
71 droite de la liaison).  Chaque @code{segment-discontinu} se composera
72 selon la liste @code{(t-début t-fin segment-style segment-taille)}.
73 La portion de liaison allant de @code{t-début} à @code{t-fin} aura un
74 trait @code{segment-style} de longueur @code{segment-taille}.
75 @code{segment-taille} est exprimé en espace de portée@tie{}; un
76 @code{segment-style} à 1 donnera un trait plein.
77
78 "
79   doctitlefr = "Dessin d'une liaison d'articulation au trait discontinu"
80
81
82   lsrtags = "rhythms, expressive-marks"
83   texidoc = "
84 Slurs can be made with complex dash patterns by defining
85 the @code{dash-definition} property.  @code{dash-definition}
86 is a list of @code{dash-elements}.  A @code{dash-element} is a
87 list of parameters defining the dash behavior for a segment of
88 the slur.
89
90 The slur is defined in terms of the bezier parameter t
91 which ranges from 0
92 at the left end of the slur to 1 at the right end of the slur.
93 @code{dash-element} is a list @code{(start-t stop-t dash-fraction
94 dash-period)}.  The region of the slur from @code{start-t} to
95 @code{stop-t} will have a fraction @code{dash-fraction}
96 of each @code{dash-period} black.  @code{dash-period} is
97 defined in terms of staff spaces.  @code{dash-fraction} is
98 set to 1 for a solid slur.
99 "
100   doctitle = "Making slurs with complex dash structure"
101 } % begin verbatim
102
103
104 \relative c' {
105   \once \override
106     Slur #'dash-definition = #'((0 0.3 0.1 0.75)
107                                 (0.3 0.6 1 1)
108                                 (0.65 1.0 0.4 0.75))
109   c4( d e f)
110   \once \override
111     Slur #'dash-definition = #'((0 0.25 1 1)
112                                 (0.3 0.7 0.4 0.75)
113                                 (0.75 1.0 1 1))
114   c4( d e f)
115 }