]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/making-slurs-with-complex-dash-structure.ly
Docs: reorganize documentation directory structure
[lilypond.git] / Documentation / snippets / 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 %% Translation of GIT committish: d4f58bb3ad4e7fe1967a6b48f25e3addffc8aa14
8   texidoces = "
9
10 Las ligaduras de expresión se pueden construir con patrones de
11 discontinuidad complejos mediante la definición de la propiedad
12 @code{dash-definition}.  @code{dash-definition} es una lista de
13 @code{elementos de discontinuidad}.  Un @code{elemento de
14 discontinuidad} es una lista de parámetros que definen el
15 comportamiento de discontinuidad de un segmento de la ligadura de
16 expresión.
17
18 La ligadura se define en términos del parámetro de bezier t cuyo
19 rango va de 0 a la izquierda de la ligadura hasta 1 en el extremo
20 derecho de la ligadura.  Cada @code{elemento de discontinuidad} es
21 una lista @code{(t-inicio t-final fracción-discontinuidad
22 período-discontinuidad)}.  La región de la ligadura desde
23 @code{t-inicio} hasta @code{t-final} tendrá una fracción
24 @code{fracción-discontinuidad} de cada
25 @code{período-discontinuidad} de color negro.
26 @code{período-discontinuidad} se define en términos de espacios de
27 pentagrama.  @code{fracción-discontinuidad} se establece al valor
28 de 1 para una ligadura continua.
29
30 "
31
32   doctitlees = "Hacer ligaduras de expresión con estructura compleja de discontinuidad"
33
34
35 %% Translation of GIT committish: 13ac9d1dfbcc297166948ee396e9ade078d2446e
36   texidocde = "
37 Legatobögen können mit einem komplizierten Strichelmuster
38 gesetzt werden, indem die @code{dash-definition}-Eigenschaft
39 definiert wird.  @code{dash-definition} ist eine Liste bestehend
40 aus @code{dash-elements}-Elementen.  Ein @code{dash-element} ist
41 eine Liste an Parametern, die das Strichverhalten für einen
42 Abschnitt des Legatobogens definieren.
43
44 Der Bogen wird nach dem Bezierparameter t definiert, welcher
45 von 0 am linken Ende des Bogens zu 1 am rechten Ende des Bogens
46 reicht.  @code{dash-element} ist eine Liste @code{(start-t stop-t dash-Unterbrechung dash-Abschnitt)}.  Die Region des Bogens von @code{start-t}
47 bis @code{stop-t} hat eine Unterbrechung von @code{dash-Unterbrechung}
48 von jedem @code{dash-Abschnitt}-Schwarzabschnitt.  @code{dash-Abschnitt} ist in Notenlinienzwischenräumen definiert.
49 @code{dash-Abschnitt} ist auf 1 für einen durchgehenden Bogen
50 gesetzt.
51 "
52   doctitlede = "Legatobögen mit kompliziertem Strichelmuster
53   definieren"
54
55   lsrtags = "rhythms, expressive-marks"
56   texidoc = "
57 Slurs can be made with complex dash patterns by defining
58 the @code{dash-definition} property.  @code{dash-definition}
59 is a list of @code{dash-elements}.  A @code{dash-element} is a
60 list of parameters defining the dash behavior for a segment of
61 the slur.
62
63 The slur is defined in terms of the bezier parameter t
64 which ranges from 0
65 at the left end of the slur to 1 at the right end of the slur.
66 @code{dash-element} is a list @code{(start-t stop-t dash-fraction
67 dash-period)}.  The region of the slur from @code{start-t} to
68 @code{stop-t} will have a fraction @code{dash-fraction}
69 of each @code{dash-period} black.  @code{dash-period} is
70 defined in terms of staff spaces.  @code{dash-fraction} is
71 set to 1 for a solid slur.
72 "
73   doctitle = "Making slurs with complex dash structure"
74 } % begin verbatim
75
76
77 \relative c' {
78   \once \override
79     Slur #'dash-definition = #'((0 0.3 0.1 0.75)
80                                 (0.3 0.6 1 1)
81                                 (0.65 1.0 0.4 0.75))
82   c( d e f)
83   \once \override
84     Slur #'dash-definition = #'((0 0.25 1 1)
85                                 (0.3 0.7 0.4 0.75)
86                                 (0.75 1.0 1 1))
87   c( d e f)
88 }