]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/heavily-customized-polymetric-time-signatures.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / new / heavily-customized-polymetric-time-signatures.ly
1 \version "2.19.56"
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 } % begin verbatim
14
15 melody = \relative c'' {
16   \key g \major
17   \compoundMeter #'((3 8) (2 8) (2 8) (3 8) (2 8) (2 8)
18                     (2 8) (2 8) (3 8) (2 8) (2 8))
19   c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
20   c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
21   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
22   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4
23   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
24 }
25
26 drum = \new DrumStaff \drummode {
27   \bar ".|:" bd4.^\markup { Drums } sn4 bd \bar ";" sn4.
28   bd4 sn \bar ";" bd sn bd4. sn4 bd \bar ":|."
29 }
30
31   \new Staff \with {
32     instrumentName = \markup { \concat { "B" \flat " Sop." } }
33   }
34
35 {
36   \melody
37   \drum
38 }