]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/changing-the-time-signature-without-affecting-the-beaming.ly
Merge branch 'master' into nested-bookparts
[lilypond.git] / input / lsr / changing-the-time-signature-without-affecting-the-beaming.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoc = "
9 The @code{\\time} command sets the properties
10 @code{timeSignatureFraction}, @code{beatLength}, @code{beatGrouping}
11 and @code{measureLength} in the @code{Timing} context, which is
12 normally aliased to @code{Score}. Changing the value of
13 @code{timeSignatureFraction} causes the new time signature symbol to be
14 printed without changing any of the other properties: 
15
16 "
17   doctitle = "Changing the time signature without affecting the beaming"
18 } % begin verbatim
19
20 \relative c'' {
21   \time 3/4
22   a16 a a a a a a a a a a a
23
24   % Change time signature symbol but keep 3/4 beaming
25   % due to unchanged underlying time signature
26   \set Score.timeSignatureFraction = #'(12 . 16)
27   a16 a a a a a a a a a a a
28
29   \time 12/16
30   % Lose 3/4 beaming now \time has been changed
31   a16 a a a a a a a a a a a
32 }