]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/making-slurs-with-complex-dash-structure.ly
Modify autobeam and grouping properties
[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.4"
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 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
37   texidocde = "
38 Legatobögen können mit einem komplizierten Strichelmuster
39 gesetzt werden, indem die @code{dash-definition}-Eigenschaft
40 definiert wird.  @code{dash-definition} ist eine Liste bestehend
41 aus @code{dash-elements}-Elementen.  Ein @code{dash-element} ist
42 eine Liste an Parametern, die das Strichverhalten für einen
43 Abschnitt des Legatobogens definieren.
44
45 Der Bogen wird nach dem Bezierparameter t definiert, welcher
46 von 0 am linken Ende des Bogens zu 1 am rechten Ende des Bogens
47 reicht.  @code{dash-element} ist eine Liste @code{(start-t stop-t dash-Unterbrechung dash-Abschnitt)}.  Die Region des Bogens von @code{start-t}
48 bis @code{stop-t} hat eine Unterbrechung von @code{dash-Unterbrechung}
49 von jedem @code{dash-Abschnitt}-Schwarzabschnitt.  @code{dash-Abschnitt} ist in Notenlinienzwischenräumen definiert.
50 @code{dash-Abschnitt} ist auf 1 für einen durchgehenden Bogen
51 gesetzt.
52 "
53   doctitlede = "Legatobögen mit kompliziertem Strichelmuster
54   definieren"
55
56   lsrtags = "rhythms, expressive-marks"
57   texidoc = "
58 Slurs can be made with complex dash patterns by defining
59 the @code{dash-definition} property.  @code{dash-definition}
60 is a list of @code{dash-elements}.  A @code{dash-element} is a
61 list of parameters defining the dash behavior for a segment of
62 the slur.
63
64 The slur is defined in terms of the bezier parameter t
65 which ranges from 0
66 at the left end of the slur to 1 at the right end of the slur.
67 @code{dash-element} is a list @code{(start-t stop-t dash-fraction
68 dash-period)}.  The region of the slur from @code{start-t} to
69 @code{stop-t} will have a fraction @code{dash-fraction}
70 of each @code{dash-period} black.  @code{dash-period} is
71 defined in terms of staff spaces.  @code{dash-fraction} is
72 set to 1 for a solid slur.
73 "
74   doctitle = "Making slurs with complex dash structure"
75 } % begin verbatim
76
77
78 \relative c' {
79   \once \override
80     Slur #'dash-definition = #'((0 0.3 0.1 0.75)
81                                 (0.3 0.6 1 1)
82                                 (0.65 1.0 0.4 0.75))
83   c( d e f)
84   \once \override
85     Slur #'dash-definition = #'((0 0.25 1 1)
86                                 (0.3 0.7 0.4 0.75)
87                                 (0.75 1.0 1 1))
88   c( d e f)
89 }