]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/heavily-customized-polymetric-time-signatures.ly
Snippets: Replace \set Staff.instrumentName
[lilypond.git] / Documentation / snippets / heavily-customized-polymetric-time-signatures.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.56
8 \version "2.19.56"
9
10 \header {
11   lsrtags = "contemporary-notation, percussion, real-music, rhythms"
12
13   texidoc = "
14 Though the polymetric time signature shown was not the most essential
15 item here, it has been included to show the beat of this piece (which
16 is the template of a real Balkan song!).
17
18 "
19   doctitle = "Heavily customized polymetric time signatures"
20 } % begin verbatim
21
22 melody = \relative c'' {
23   \key g \major
24   \compoundMeter #'((3 8) (2 8) (2 8) (3 8) (2 8) (2 8)
25                     (2 8) (2 8) (3 8) (2 8) (2 8))
26   c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
27   c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4
28   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
29   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4
30   c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break
31 } % begin verbatim
32
33
34 drum = \new DrumStaff \drummode {
35   \bar ".|:" bd4.^\markup { Drums } sn4 bd \bar ";" sn4.
36   bd4 sn \bar ";" bd sn bd4. sn4 bd \bar ":|."
37 }
38
39   \new Staff \with {
40     instrumentName = \markup { \concat { "B" \flat " Sop." } }
41   }
42
43 {
44   \melody
45   \drum
46 }