]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/heavily-customized-polymetric-time-signatures.ly
Imported Upstream version 2.18.2
[lilypond.git] / Documentation / snippets / new / heavily-customized-polymetric-time-signatures.ly
1 \version "2.17.15"
2
3 \header {
4   lsrtags = "contemporary-notation, percussion, real-music, rhythms"
5
6   texidoc = "
7 Though the polymetric time signature shown was not the most essential
8 item here, it has been included to show the beat of this piece (which
9 is the template of a real Balkan song!).
10
11 "
12   doctitle = "Heavily customized polymetric time signatures"
13 }
14
15 melody = \relative c'' {
16   \set Staff.instrumentName = #"Bb Sop."
17   \key g \major
18   \compoundMeter #'((3 8) (2 8) (2 8) (3 8) (2 8) (2 8)
19                     (2 8) (2 8) (3 8) (2 8) (2 8))
20   c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
21   c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
22   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
23   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4
24   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
25 }
26
27 drum = \new DrumStaff \drummode {
28   \bar ".|:" bd4.^\markup { Drums } sn4 bd \bar ";" sn4.
29   bd4 sn \bar ";" bd sn bd4. sn4 bd \bar ":|."
30 }
31
32 {
33   \melody
34   \drum
35 }