]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/compound-time-signatures.ly
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / compound-time-signatures.ly
1 %% Do not edit this file; it is auto-generated from LSR!
2 %% Tags: rhythms
3 \version "2.11.35"
4
5 \header { texidoc = "
6 Odd 20th century time signatures (such as \"5/8\") can often be played
7 as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
8 more inequal metrics. LilyPond can make such musics quite easy to read
9 and play, by explicitly printing the compound time signatures and
10 adapting the automatic beaming behaviour. (You can even add graphic
11 measure groping indications, the appropriate snippet in this database.)
12
13 " }
14
15 #(define (compound-time one two num)
16   (markup #:override '(baseline-skip . 0) #:number 
17    (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))))))
18
19
20 \relative {
21   %% compound time signature hack
22   \time 5/8
23   \override Staff.TimeSignature #'stencil = #ly:text-interface::print
24   \override Staff.TimeSignature #'text = #(compound-time "2" "3" "8" )
25   #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
26   c8 d e fis gis | c fis, gis e d | c8 d e4  gis8
27 }