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