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