]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/heavily-customized-polymetric-time-signatures.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / heavily-customized-polymetric-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, percussion"
7
8   texidoc = "
9 Though the polymetric time signature shown was not the most essential
10 item here, it has been included to show the beat of this piece (which
11 is the template of a real Balkan song!).
12
13 "
14   doctitle = "Heavily customized polymetric time signatures"
15 } % begin verbatim
16 #(define (set-time-signature one two three four five six seven eight nine ten
17           eleven num)
18           (markup #:override '(baseline-skip . 0) #:number
19           (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))
20           #:vcenter "+" (#:column (three num)) #:vcenter "+" (#:column (four num))
21           #:vcenter "+" (#:column (five num)) #:vcenter "+" (#:column (six num))
22           #:vcenter "+" (#:column (seven num)) #:vcenter "+" (#:column (eight num))
23           #:vcenter "+" (#:column (nine num)) #:vcenter "+" (#:column (ten num))
24           #:vcenter "+" (#:column (eleven num))))
25           ))
26
27
28 melody = \relative c'' {
29   \set Staff.instrumentName = #"Bb Sop."
30   \key g \major
31   \time 25/8
32   \override Staff.TimeSignature #'stencil = #ly:text-interface::print
33   \override Staff.TimeSignature #'text = #(set-time-signature "3" "2" "2" "3"
34     "2" "2" "2" "2" "3" "2" "2" "8" )
35   \set Staff.beatGrouping = #'(3 2 2 3 2 2 2 2 3 2 2)
36   #(override-auto-beam-setting '(end * * 25 8) 3 8)
37   #(override-auto-beam-setting '(end * * 25 8) 5 8)
38   #(override-auto-beam-setting '(end * * 25 8) 7 8)
39   #(override-auto-beam-setting '(end * * 25 8) 10 8)
40   #(override-auto-beam-setting '(end * * 25 8) 12 8)
41   #(override-auto-beam-setting '(end * * 25 8) 14 8)
42   #(override-auto-beam-setting '(end * * 25 8) 16 8)
43   #(override-auto-beam-setting '(end * * 25 8) 18 8)
44   #(override-auto-beam-setting '(end * * 25 8) 21 8)
45   #(override-auto-beam-setting '(end * * 25 8) 23 8)
46
47   c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
48   c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
49   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
50   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4
51   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
52 }
53
54 drum = \new DrumStaff \drummode {
55   \bar "|:" bd4.^\markup { "Drums" } sn4 bd \bar ":" sn4.
56   bd4 sn \bar ":" bd sn bd4. sn4 bd \bar ":|"
57 }
58
59 {
60   \melody
61   \drum
62 }