]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/compound-time-signatures.ly
d418d0c956f1c804c3cfa8e1ccceec21aea80815
[lilypond.git] / Documentation / snippets / compound-time-signatures.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.36
5 \version "2.13.40"
6
7 \header {
8 %% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94
9  doctitlees = "Indicaciones de compases compuestos"
10  texidoces = "
11 Las indicaciones de compás poco frecuentes como @qq{5/8} se pueden
12 ejecutar como compases compuestos (p.ej. @qq{3/8 + 2/8}), que combinan
13 dos o más metros diferentes. LilyPond puede hacer la música de este
14 tipo fácil de leer e interpretar, imprimiendo explícitamente las
15 indicaciones de compás compuesto y adaptando el comportamiento
16 automático de las barras (también se pueden añadir indicaciones
17 gráficas de la agrupación de compases; véase el fragmento de código
18 apropiado en la base de datos).
19
20 "
21
22
23 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
24 texidocde = "
25 Ungerade Taktarten werden (wie etwa \"5/8\") werden oft als zusammengesetzte
26 Taktarten interpretiert (bspw. \"3/8 + 2/8\"), in welchen zwei oder mehr
27 Teiltakte unterschieden werden.  LilyPond kann derartige Noten produzieren,
28 indem entsprechende Taktarten gesetzt werden und die automatische
29 Bebalkung angepasst wird.
30
31 "
32   doctitlede = "Zusammengesetzte Taktarten"
33
34
35
36 %% Translation of GIT committish: 4da4307e396243a5a3bc33a0c2753acac92cb685
37   texidocfr = "
38 Des métriques telles que @qq{5/8} peuvent s'interpréter sous une forme
39 décomposée --- @qq{3/8 + 2/8} par exemple --- qui combine plusieurs
40 métriques.  LilyPond est capable de rendre ce type de notation, plus
41   facile à lire et à interpréter, en imprimant cette métrique composite
42   et en adaptant les règles de ligature automatique en conséquence.
43
44 "
45   doctitlefr = "Métrique décomposée"
46
47   lsrtags = "rhythms"
48   texidoc = "
49 Odd 20th century time signatures (such as \"5/8\") can often be played
50 as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
51 more inequal metrics. LilyPond can make such music quite easy to read
52 and play, by explicitly printing the compound time signatures and
53 adapting the automatic beaming behavior. (Graphic measure grouping
54 indications can also be added; see the appropriate snippet in this
55 database.)
56 "
57   doctitle = "Compound time signatures"
58 } % begin verbatim
59
60
61 #(define ((compound-time one two num) grob)
62    (grob-interpret-markup grob
63                           (markup #:override '(baseline-skip . 0) #:number
64                                   (#:line ((#:column (one num))
65                                            #:vcenter "+"
66                                            (#:column (two num)))))))
67
68 \relative c' {
69   \override Staff.TimeSignature #'stencil = #(compound-time "2" "3" "8")
70   \time 5/8
71   \set Staff.beatStructure = #'(2 3)
72   c8 d e fis gis
73   c8 fis, gis e d
74   c8 d e4 gis8
75 }