]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-time-signatures-inside-a-polymetric-section-using--scaledurations.ly
Doc-fr: update for 2.16.1 (first part)
[lilypond.git] / Documentation / snippets / changing-time-signatures-inside-a-polymetric-section-using--scaledurations.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.15.17
8 \version "2.16.0"
9
10 \header {
11   lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
12
13   doctitle = "Changing time signatures inside a polymetric section using \\scaleDurations"
14 } % begin verbatim
15
16
17
18 \layout {
19   \context {
20     \Score
21     \remove "Timing_translator"
22     \remove "Default_bar_line_engraver"
23   }
24   \context {
25     \Staff
26     \consists "Timing_translator"
27     \consists "Default_bar_line_engraver"
28   }
29 }
30
31 <<
32   \new Staff {
33     \scaleDurations 8/5 {
34       \time 6/8
35       \set Timing.measureLength = #(ly:make-moment 6 5)
36       b8 b b b b b
37       \time 2/4
38       \set Timing.measureLength = #(ly:make-moment 4 5)
39       b4 b
40     }
41   }
42   \new Staff {
43     \clef bass
44     \time 2/4
45     c2 d e f
46   }
47 >>