]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/sub-dividing-beams.ly
LSR: Update.
[lilypond.git] / input / lsr / sub-dividing-beams.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.64"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoces = "
9 Las barras de semicorcheas (o notas más breves) seguidas no se
10 subdividen de forma predeterminada.  Esto es: las tres (o más)
11 barras se prolongan, sin dividirse, sobre grupos completos de
12 notas.  Este comportamiento se puede modificar para que las barras
13 se subdividan en subgrupos mediante el establecimiento de la
14 propiedad @code{subdivideBeams}.  Cuando está establecida, las
15 diversas barras se subdividen a intervalos definidos por el valor
16 actual de la longitud del pulso @code{beatLength} reduciendo las
17 barras múltiples a una sola entre los subgrupos.  Observe que el
18 valor predeterminado de @code{beatLength} es de una negra si no
19 está establecido explícitamente.  Se debe establecer al valor de
20 una fracción que da la duración el subgrupo de barras utilizando
21 la función @code{make-moment}, como se muestra aquí:
22
23 "
24   doctitlees = "Subdivisión de las barras de semicorchea"
25
26   texidoc = "
27 The beams of consecutive 16th (or shorter) notes are, by default, not
28 sub-divided.  That is, the three (or more) beams stretch unbroken over
29 entire groups of notes.  This behavior can be modified to sub-divide
30 the beams into sub-groups by setting the property
31 @code{subdivideBeams}. When set, multiple beams will be sub-divided at
32 intervals defined by the current value of @code{beatLength} by reducing
33 the multiple beams to just one beam between the sub-groups. Note that
34 @code{beatLength} defaults to one over the denominator of the current
35 time signature if not set explicitly. It must be set to a fraction
36 giving the duration of the beam sub-group using the @code{make-moment}
37 function, as shown here:
38
39
40
41 "
42   doctitle = "Sub-dividing beams"
43 } % begin verbatim
44
45 \relative c'' {
46   c32[ c c c c c c c]
47   \set subdivideBeams = ##t
48   c32[ c c c c c c c]
49
50   % Set beam sub-group length to an eighth note
51   \set beatLength = #(ly:make-moment 1 8)
52   c32[ c c c c c c c]
53
54   % Set beam sub-group length to a sixteenth note
55   \set beatLength = #(ly:make-moment 1 16)
56   c32[ c c c c c c c]
57 }