]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/compound-time-signatures.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / compound-time-signatures.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.62"
4
5 \header {
6   lsrtags = "rhythms"
7
8  doctitlees = "Indicaciones de compases compuestos"
9  texidoces = "
10 Las indicaciones de compás poco frecuentes como \"5/8\" se pueden
11 ejecutar como compases compuestos (p.ej. \"3/8 + 2/8\"), que combinan
12 dos o más metros diferentes. LilyPond puede hacer la música de este
13 tipo fácil de leer e interpretar, imprimiendo explícitamente las
14 indicaciones de compás compuesto y adaptando el comportamiento
15 automático de las barras (también se pueden añadir indicaciones
16 gráficas de la agrupación de compases; véase el fragmento de código
17 apropiado en la base de datos).
18
19 "
20   texidoc = "
21 Odd 20th century time signatures (such as \"5/8\") can often be played
22 as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
23 more inequal metrics. LilyPond can make such music quite easy to read
24 and play, by explicitly printing the compound time signatures and
25 adapting the automatic beaming behavior. (Graphic measure grouping
26 indications can also be added; see the appropriate snippet in this
27 database.) 
28
29 "
30   doctitle = "Compound time signatures"
31 } % begin verbatim
32 #(define (compound-time one two num)
33   (markup #:override '(baseline-skip . 0) #:number
34    (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))))
35   ))
36
37 \relative {  
38   \override Staff.TimeSignature #'stencil = #ly:text-interface::print
39   \override Staff.TimeSignature #'text = #(compound-time "2" "3" "8")
40   \time 5/8
41   #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
42   c8 d e fis gis
43   c8 fis, gis e d
44   c8 d e4 gis8
45 }