]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/making-slurs-with-complex-dash-structure.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / making-slurs-with-complex-dash-structure.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.13.1
4 \version "2.13.1"
5
6 \header {
7   texidoces = "
8
9 Las ligaduras de expresión se pueden construir con patrones de
10 discontinuidad complejos mediante la definición de la propiedad
11 @code{dash-definition}.  @code{dash-definition} es una lista de
12 @code{elementos de discontinuidad}.  Un @code{elemento de
13 discontinuidad} es una lista de parámetros que definen el
14 comportamiento de discontinuidad de un segmento de la ligadura de
15 expresión.
16
17 La ligadura se define en términos del parámetro de bezier t cuyo
18 rango va de 0 a la izquierda de la ligadura hasta 1 en el extremo
19 derecho de la ligadura.  Cada @code{elemento de discontinuidad} es
20 una lista @code{(t-inicio t-final fracción-discontinuidad
21 período-discontinuidad)}.  La región de la ligadura desde
22 @code{t-inicio} hasta @code{t-final} tendrá una fracción
23 @code{fracción-discontinuidad} de cada
24 @code{período-discontinuidad} de color negro.
25 @code{período-discontinuidad} se define en términos de espacios de
26 pentagrama.  @code{fracción-discontinuidad} se establece al valor
27 de 1 para una ligadura continua.
28
29 "
30
31   doctitlees = "Hacer ligaduras de expresión con estructura compleja de discontinuidad"
32
33   lsrtags = "rhythms, expressive-marks"
34   texidoc = "
35 Slurs can be made with complex dash patterns by defining
36 the @code{dash-definition} property.  @code{dash-definition}
37 is a list of @code{dash-elements}.  A @code{dash-element} is a
38 list of parameters defining the dash behavior for a segment of
39 the slur.
40
41 The slur is defined in terms of the bezier parameter t
42 which ranges from 0
43 at the left end of the slur to 1 at the right end of the slur.
44 @code{dash-element} is a list @code{(start-t stop-t dash-fraction
45 dash-period)}.  The region of the slur from @code{start-t} to
46 @code{stop-t} will have a fraction @code{dash-fraction}
47 of each @code{dash-period} black.  @code{dash-period} is
48 defined in terms of staff spaces.  @code{dash-fraction} is
49 set to 1 for a solid slur.
50 "
51   doctitle = "Making slurs with complex dash structure"
52 } % begin verbatim
53
54
55 \relative c' {
56   \once \override
57     Slur #'dash-definition = #'((0 0.3 0.1 0.75)
58                                 (0.3 0.6 1 1)
59                                 (0.65 1.0 0.4 0.75))
60   c( d e f)
61   \once \override
62     Slur #'dash-definition = #'((0 0.25 1 1)
63                                 (0.3 0.7 0.4 0.75)
64                                 (0.75 1.0 1 1))
65   c( d e f)
66 }