]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/heavily-customized-polymetric-time-signatures.ly
Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / heavily-customized-polymetric-time-signatures.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.11.66"
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
17
18 #(define plus (markup #:vcenter "+"))
19 #(define ((custom-time-signature one two three four five six
20            seven eight nine ten eleven num) grob)
21             (grob-interpret-markup grob
22               (markup #:override '(baseline-skip . 0) #:number
23                 (#:line (
24                     (#:column (one num)) plus
25                     (#:column (two num)) plus
26                     (#:column (three num)) plus
27                     (#:column (four num)) plus
28                     (#:column (five num)) plus
29                     (#:column (six num)) plus
30                     (#:column (seven num)) plus
31                     (#:column (eight num)) plus
32                     (#:column (nine num)) plus
33                     (#:column (ten num)) plus
34                     (#:column (eleven num))))
35                 )))
36
37 melody = \relative c'' {
38   \set Staff.instrumentName = #"Bb Sop."
39   \key g \major
40   #(set-time-signature 25 8 '(3 2 2 3 2 2 2 2 3 2 2))
41   \override Staff.TimeSignature #'stencil =
42     #(custom-time-signature "3" "2" "2" "3" "2" "2"
43       "2" "2" "3" "2" "2" "8")
44   c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
45   c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
46   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
47   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4
48   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
49 }
50
51 drum = \new DrumStaff \drummode {
52   \bar "|:" bd4.^\markup { "Drums" } sn4 bd \bar ":" sn4.
53   bd4 sn \bar ":" bd sn bd4. sn4 bd \bar ":|"
54 }
55
56 {
57   \melody
58   \drum
59 }