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