]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/compound-time-signatures.ly
Split WWW target in two stages WWW-1 and WWW-2
[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.46"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoc = "
9 Odd 20th century time signatures (such as \"5/8\") can often be played
10 as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
11 more inequal metrics. LilyPond can make such music quite easy to read
12 and play, by explicitly printing the compound time signatures and
13 adapting the automatic beaming behavior. (Graphic measure grouping
14 indications can also be added; see the appropriate snippet in this
15 database.) 
16
17 "
18   doctitle = "Compound time signatures"
19 } % begin verbatim
20 #(define (compound-time one two num)
21   (markup #:override '(baseline-skip . 0) #:number
22    (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))))
23   ))
24
25 \relative {  
26   \override Staff.TimeSignature #'stencil = #ly:text-interface::print
27   \override Staff.TimeSignature #'text = #(compound-time "2" "3" "8")
28   \time 5/8
29   #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
30   c8 d e fis gis
31   c fis, gis e d
32   c8 d e4 gis8
33 }