]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/autobeam-3-4-rules.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / autobeam-3-4-rules.ly
1 \version "2.16.0"
2
3 \header {
4
5   doctitle = "Special beaming rules for 3/4 time"
6
7   texinfo = "Beaming in 3/4 time has special treatment.  By default
8 six eighth notes are beamed in one. Beams that would imply 6/8 time
9 may be avoided with @code{beamHalfMeasure = ##f}.  When the beaming
10 is changed, beams should start at the beginning of the measure.
11 "
12
13 }
14
15 \relative c' {
16   \time 3/4
17   \set Timing.beamHalfMeasure = ##f
18   r4.^\markup "Prevent beams that imply 6/8 time" c8 c c |
19   c8 c r c c r |
20   r8_"but these beams are okay" c c c c c | c c c r r4 \bar "||"
21
22   \set Timing.beamHalfMeasure = ##t
23   r4.^\markup "Or allow them" c8 c c c c r c c r
24   \break
25
26   \unset Timing.beamExceptions
27   r8^\markup "Beam to the beat" c c c c c
28   c c c r r4 \bar "||"
29
30   \set Timing.baseMoment = #(ly:make-moment 1 8)
31   \set Timing.beatStructure = #'(3 3)
32   r8^\markup "Override to beam groups of 3 eighth notes" c c c c c
33   r4. c8 c c c c c r4.
34 }